Files
react-native-bottom-sheet/website/docusaurus.config.js
Mo Gorhom 34c90396b4 docs: added documentation website (#90)
* chore: added docusaurus

* chore: updated styling

* docs: added current docs WIP

* docs: added current docs WIP

* docs: added current docs WIP

* docs: updated custom handle & background docs

* chore: update eslint

* chore: updated website url

* chore: updated library homepage url

* chore: added google search console file

* chore: added expo badge

* docs: added troubleshooting page

* docs: added faq page

* chore: added backdrop prop

* chore: added modal documents

* chore: updated stack example

* chore: added usage pages

* fix: revert demo styling

* fix: fixed features link on modal page

* docs: updated root readme, and deleted old docs

* docs: updated version 2 alpha 5

* fix: video player on mobile

* chore: updated v2 alpha version

* chore: compressed gifs

* chore: updated video component

* chore: updated custom handle, background & backdrop

* chore: updated getting started page

* docs: updated readme file
2020-12-16 22:11:38 +01:00

52 lines
1.2 KiB
JavaScript

module.exports = {
title: 'React Native Bottom Sheet',
tagline:
'A performant interactive bottom sheet with fully configurable options 🚀',
url: 'https://gorhom.github.io',
baseUrl: '/react-native-bottom-sheet/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
organizationName: 'gorhom',
projectName: 'react-native-bottom-sheet',
favicon: 'img/favicon.ico',
themeConfig: {
image: 'img/icon.png',
navbar: {
title: 'Bottom Sheet',
hideOnScroll: true,
items: [
{
to: 'modal/',
activeBasePath: 'modal',
label: 'Bottom Sheet Modal',
position: 'left',
},
{
href: 'https://github.com/gorhom/react-native-bottom-sheet',
label: 'GitHub',
position: 'right',
},
],
},
footer: {
style: 'dark',
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
routeBasePath: '/',
editUrl:
'https://github.com/facebook/docusaurus/edit/master/website/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
};