github.com/wawandco/oxpecker@v1.5.7-0.20210910201653-5958d4afdd89/docs/web/docusaurus.config.js (about) 1 const lightCodeTheme = require('prism-react-renderer/themes/github'); 2 const darkCodeTheme = require('prism-react-renderer/themes/dracula'); 3 4 // With JSDoc @type annotations, IDEs can provide config autocompletion 5 /** @type {import('@docusaurus/types').DocusaurusConfig} */ 6 (module.exports = { 7 title: 'Ox Documentation', 8 tagline: 'Dinosaurs are cool', 9 url: 'https://oxcli.dev', 10 baseUrl: '/', 11 onBrokenLinks: 'throw', 12 onBrokenMarkdownLinks: 'warn', 13 favicon: 'img/favicon.ico', 14 organizationName: 'Wawandco', // Usually your GitHub org/user name. 15 projectName: 'oxpecker', // Usually your repo name. 16 17 presets: [ 18 [ 19 '@docusaurus/preset-classic', 20 /** @type {import('@docusaurus/preset-classic').Options} */ 21 ({ 22 docs: { 23 path: '../docs', 24 "showLastUpdateAuthor": false, 25 "showLastUpdateTime": false, 26 sidebarPath: require.resolve('./sidebars.js'), 27 }, 28 theme: { 29 customCss: require.resolve('./src/css/custom.css'), 30 }, 31 }), 32 ], 33 ], 34 35 themeConfig: 36 /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ 37 ({ 38 navbar: { 39 title: 'Ox', 40 logo: { 41 alt: 'My Site Logo', 42 src: 'img/logo.svg', 43 }, 44 items: [ 45 { 46 type: 'doc', 47 docId: 'getting-started', 48 position: 'left', 49 label: 'Documentation', 50 }, 51 { 52 href: 'https://github.com/wawandco/oxpecker', 53 label: 'GitHub', 54 position: 'right', 55 }, 56 ], 57 }, 58 footer: { 59 style: 'dark', 60 links: [], 61 copyright: `Copyright © ${new Date().getFullYear()} Wawandco, Inc.`, 62 }, 63 prism: { 64 theme: lightCodeTheme, 65 darkTheme: darkCodeTheme, 66 }, 67 }), 68 });