|
1 | 1 | module.exports = { |
2 | | - title: "react-native-rooster 🐔", |
3 | | - tagline: "An elegant and flexible toast solution for your react-native apps", |
4 | | - url: "https://mcodex.dev", |
5 | | - baseUrl: "/react-native-rooster/", |
6 | | - onBrokenLinks: "throw", |
7 | | - favicon: "img/favicon.ico", |
8 | | - organizationName: "mcodex", |
9 | | - projectName: "react-native-rooster", |
| 2 | + title: 'react-native-rooster 🐔', |
| 3 | + tagline: 'An elegant and flexible toast solution for your react-native apps', |
| 4 | + url: 'https://mcodex.dev', |
| 5 | + baseUrl: '/react-native-rooster/', |
| 6 | + onBrokenLinks: 'throw', |
| 7 | + favicon: 'img/favicon.ico', |
| 8 | + organizationName: 'mcodex', |
| 9 | + projectName: 'react-native-rooster', |
10 | 10 | themeConfig: { |
| 11 | + prism: { |
| 12 | + theme: require('prism-react-renderer/themes/dracula'), |
| 13 | + }, |
11 | 14 | googleAnalytics: { |
12 | | - trackingID: "UA-79205996-7", |
| 15 | + trackingID: 'UA-79205996-7', |
13 | 16 | }, |
14 | 17 | navbar: { |
15 | | - title: "react-native-rooster", |
| 18 | + title: 'react-native-rooster', |
16 | 19 | logo: { |
17 | | - alt: "react-native-rooster logo", |
18 | | - src: "img/logo.svg", |
| 20 | + alt: 'react-native-rooster logo', |
| 21 | + src: 'img/logo.svg', |
19 | 22 | }, |
20 | 23 | items: [ |
21 | 24 | { |
22 | | - to: "docs/", |
23 | | - activeBasePath: "docs", |
24 | | - label: "Docs", |
25 | | - position: "right", |
| 25 | + to: 'docs/', |
| 26 | + activeBasePath: 'docs', |
| 27 | + label: 'Docs', |
| 28 | + position: 'right', |
26 | 29 | }, |
27 | | - // { to: 'blog', label: 'Blog', position: 'left' }, |
28 | 30 | { |
29 | | - href: "https://github.com/mcodex/react-native-rooster", |
30 | | - label: "GitHub", |
31 | | - position: "right", |
| 31 | + href: 'https://github.com/mcodex/react-native-rooster', |
| 32 | + label: 'GitHub', |
| 33 | + position: 'right', |
32 | 34 | }, |
33 | 35 | ], |
34 | 36 | }, |
35 | 37 | footer: { |
36 | | - style: "dark", |
| 38 | + style: 'dark', |
37 | 39 | copyright: `Copyright © ${new Date().getFullYear()} Made with ❤️ by mCodex`, |
38 | 40 | }, |
39 | 41 | }, |
40 | 42 | presets: [ |
41 | 43 | [ |
42 | | - "@docusaurus/preset-classic", |
| 44 | + '@docusaurus/preset-classic', |
43 | 45 | { |
44 | 46 | docs: { |
45 | | - homePageId: "overview", |
46 | | - sidebarPath: require.resolve("./sidebars.js"), |
| 47 | + homePageId: 'overview', |
| 48 | + sidebarPath: require.resolve('./sidebars.js'), |
47 | 49 | editUrl: |
48 | | - "https://github.com/mcodex/react-native-rooster/edit/website/website/", |
| 50 | + 'https://github.com/mcodex/react-native-rooster/edit/website/website/', |
49 | 51 | showLastUpdateAuthor: true, |
50 | 52 | showLastUpdateTime: true, |
| 53 | + remarkPlugins: [require('./src/plugins/remark-npm2yarn')], |
| 54 | + }, |
| 55 | + pages: { |
| 56 | + remarkPlugins: [require('./src/plugins/remark-npm2yarn')], |
51 | 57 | }, |
52 | 58 | theme: { |
53 | | - customCss: require.resolve("./src/css/custom.css"), |
| 59 | + customCss: require.resolve('./src/css/custom.css'), |
54 | 60 | }, |
55 | 61 | }, |
56 | 62 | ], |
|
0 commit comments