const repoUrl = 'https://github.com/callstack/react-native-testing-library'; const title = 'React Native Testing Library'; const siteConfig = { title, // Title for your website. tagline: 'Helps you to write better tests with less effort.', url: 'https://callstack.github.io', // Your website URL baseUrl: '/react-native-testing-library/', // Base URL for your project // Used for publishing and more projectName: '@testing-library/react-native', organizationName: 'callstack', favicon: 'img/owl.png', themeConfig: { sidebarCollapsible: false, navbar: { title, logo: { alt: title, src: 'img/owl.png', }, links: [ { to: 'docs/getting-started', label: 'Docs', position: 'right' }, { href: repoUrl, label: 'GitHub', position: 'right' }, ], }, footer: { style: 'dark', links: [ { title: 'Docs', items: [ { key: 1, label: 'Getting started', to: 'docs/getting-started', }, { key: 2, label: 'API', to: 'docs/api', }, ], }, { title: 'Community', items: [ { key: 3, label: 'Stack Overflow', href: 'http://stackoverflow.com/questions/tagged/react-native-testing-library', }, { key: 4, label: 'Discord Channel', href: 'https://discord.gg/QbGezWe', }, ], }, { title: 'More', items: [ { key: 5, label: 'GitHub', href: repoUrl, }, { key: 6, label: 'Star', href: repoUrl, }, ], }, ], copyright: `Copyright © ${new Date().getFullYear()} Callstack Open Source`, }, image: 'img/owl.png', prism: { theme: require('prism-react-renderer/themes/github'), darkTheme: require('prism-react-renderer/themes/dracula'), defaultLanguage: 'jsx', }, algolia: { apiKey: 'cd9b8b73f97b64ed04570e41c507683f', indexName: 'react-native-testing-library', }, }, presets: [ [ '@docusaurus/preset-classic', { docs: { sidebarPath: require.resolve('./sidebars.js'), // Please change this to your repo. editUrl: `${repoUrl}/blob/master`, }, blog: { showReadingTime: true, // Please change this to your repo. editUrl: `${repoUrl}/blob/master/blog`, }, theme: { customCss: require.resolve('./src/css/custom.css'), }, }, ], ], }; module.exports = siteConfig;