|
| 1 | +module.exports = { |
| 2 | + title: "ZMK Keyboard Firmware", |
| 3 | + tagline: "Modern, open source keyboard firmware ", |
| 4 | + url: "https://your-docusaurus-test-site.com", |
| 5 | + baseUrl: "/", |
| 6 | + favicon: "img/favicon.ico", |
| 7 | + organizationName: "zmkproject", // Usually your GitHub org/user name. |
| 8 | + projectName: "zmk", // Usually your repo name. |
| 9 | + themeConfig: { |
| 10 | + navbar: { |
| 11 | + title: "ZMK", |
| 12 | + logo: { |
| 13 | + alt: "ZMK Logo", |
| 14 | + src: "img/logo.svg", |
| 15 | + }, |
| 16 | + links: [ |
| 17 | + { |
| 18 | + to: "docs/", |
| 19 | + activeBasePath: "docs", |
| 20 | + label: "Docs", |
| 21 | + position: "left", |
| 22 | + }, |
| 23 | + { to: "blog", label: "Blog", position: "left" }, |
| 24 | + { |
| 25 | + href: "https://gitlab.com/zmkproject/zmk", |
| 26 | + label: "GitLab", |
| 27 | + position: "right", |
| 28 | + }, |
| 29 | + ], |
| 30 | + }, |
| 31 | + footer: { |
| 32 | + style: "dark", |
| 33 | + links: [ |
| 34 | + { |
| 35 | + title: "Docs", |
| 36 | + items: [ |
| 37 | + { |
| 38 | + label: "Style Guide", |
| 39 | + to: "docs/", |
| 40 | + }, |
| 41 | + { |
| 42 | + label: "Second Doc", |
| 43 | + to: "docs/doc2/", |
| 44 | + }, |
| 45 | + ], |
| 46 | + }, |
| 47 | + { |
| 48 | + title: "Community", |
| 49 | + items: [ |
| 50 | + { |
| 51 | + label: "Stack Overflow", |
| 52 | + href: "https://stackoverflow.com/questions/tagged/docusaurus", |
| 53 | + }, |
| 54 | + { |
| 55 | + label: "Discord", |
| 56 | + href: "https://discordapp.com/invite/docusaurus", |
| 57 | + }, |
| 58 | + { |
| 59 | + label: "Twitter", |
| 60 | + href: "https://twitter.com/docusaurus", |
| 61 | + }, |
| 62 | + ], |
| 63 | + }, |
| 64 | + { |
| 65 | + title: "More", |
| 66 | + items: [ |
| 67 | + { |
| 68 | + label: "Blog", |
| 69 | + to: "blog", |
| 70 | + }, |
| 71 | + { |
| 72 | + label: "GitHub", |
| 73 | + href: "https://github.com/facebook/docusaurus", |
| 74 | + }, |
| 75 | + ], |
| 76 | + }, |
| 77 | + ], |
| 78 | + copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`, |
| 79 | + }, |
| 80 | + }, |
| 81 | + presets: [ |
| 82 | + [ |
| 83 | + "@docusaurus/preset-classic", |
| 84 | + { |
| 85 | + docs: { |
| 86 | + // It is recommended to set document id as docs home page (`docs/` path). |
| 87 | + homePageId: "intro", |
| 88 | + sidebarPath: require.resolve("./sidebars.js"), |
| 89 | + // Please change this to your repo. |
| 90 | + editUrl: "https://githlab.com/zmkproject/zmk/edit/master/docs/", |
| 91 | + }, |
| 92 | + blog: { |
| 93 | + showReadingTime: true, |
| 94 | + // Please change this to your repo. |
| 95 | + editUrl: "https://gitlab.com/zmkproject/zmk/edit/master/docs/blog/", |
| 96 | + }, |
| 97 | + theme: { |
| 98 | + customCss: require.resolve("./src/css/custom.css"), |
| 99 | + }, |
| 100 | + }, |
| 101 | + ], |
| 102 | + ], |
| 103 | +}; |
0 commit comments