github.com/wawandco/ox@v0.13.6-0.20230809142027-913b3d837f2a/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 CLI', 8 tagline: "Ox is a CLI for Rapid application development in Go. It's focus is development productivity, maintainability and extensibility.", 9 url: 'https://oxcli.com', 10 baseUrl: '/', 11 onBrokenLinks: 'throw', 12 onBrokenMarkdownLinks: 'warn', 13 favicon: 'img/favicon_dark.png', 14 organizationName: 'Wawandco', // Usually your GitHub org/user name. 15 projectName: 'Ox', // 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 logo: { 40 alt: 'Ox logo', 41 src: 'img/ox_dark_small.png', 42 srcDark: 'img/ox_light_small.png', 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/ox', 53 className: 'navbar-item-github', 54 position: 'right', 55 label: "Github", 56 }, 57 ], 58 }, 59 60 prism: { 61 theme: lightCodeTheme, 62 darkTheme: darkCodeTheme, 63 }, 64 65 image: "img/ox_og.png", 66 "metadatas": [ 67 {name: 'og:type', content: 'website'}, 68 {name: 'twitter:card', content: 'summary'}, 69 {name: 'twitter:title', content: 'Ox CLI'}, 70 {name: 'twitter:description', content: 'Go CLI for Rapid Application Development.'}, 71 {name: 'twitter:description', content: 'Go CLI for Rapid Application Development.'}, 72 ], 73 }), 74 });