|
| 1 | +import { themes as prismThemes } from "prism-react-renderer"; |
| 2 | +import type { Config } from "@docusaurus/types"; |
| 3 | +import type * as Preset from "@docusaurus/preset-classic"; |
| 4 | + |
| 5 | +const config: Config = { |
| 6 | + title: "Awesome CI", |
| 7 | + customFields: { |
| 8 | + openerTitle: "FS DevOps peresents: Awesome CI", |
| 9 | + }, |
| 10 | + tagline: "Fullstack applications and DevOps solutions", |
| 11 | + favicon: "https://avatars.githubusercontent.com/u/97617148?s=200&v=4", |
| 12 | + url: "https://fullstack-devops.github.io", |
| 13 | + baseUrl: "/awesome-ci", |
| 14 | + organizationName: "fullstack-devops", |
| 15 | + projectName: "awesome-ci", |
| 16 | + onBrokenLinks: "throw", |
| 17 | + onBrokenMarkdownLinks: "warn", |
| 18 | + i18n: { |
| 19 | + defaultLocale: "en", |
| 20 | + locales: ["en"], |
| 21 | + }, |
| 22 | + |
| 23 | + presets: [ |
| 24 | + [ |
| 25 | + "classic", |
| 26 | + { |
| 27 | + docs: { |
| 28 | + sidebarPath: require.resolve("./sidebars.js"), |
| 29 | + editUrl: "https://github.com/fullstack-devops/awesome-ci/tree/main/", |
| 30 | + }, |
| 31 | + theme: { |
| 32 | + customCss: require.resolve("./src/css/custom.css"), |
| 33 | + }, |
| 34 | + }, |
| 35 | + ], |
| 36 | + ], |
| 37 | + |
| 38 | + plugins: [require.resolve("docusaurus-lunr-search")], |
| 39 | + |
| 40 | + themeConfig: { |
| 41 | + image: "https://fullstack-devops.github.io/img/full-logo.png", |
| 42 | + navbar: { |
| 43 | + title: "Awesome CI", |
| 44 | + logo: { |
| 45 | + alt: "Awesome CI Logo", |
| 46 | + src: "https://fullstack-devops.github.io/img/logo.png", |
| 47 | + }, |
| 48 | + items: [ |
| 49 | + { |
| 50 | + type: "doc", |
| 51 | + docId: "overview", |
| 52 | + position: "left", |
| 53 | + label: "Overview", |
| 54 | + }, |
| 55 | + { |
| 56 | + type: "search", |
| 57 | + position: "right", |
| 58 | + }, |
| 59 | + { |
| 60 | + href: "https://github.com/fullstack-devops/awesome-ci", |
| 61 | + label: "GitHub", |
| 62 | + position: "right", |
| 63 | + }, |
| 64 | + ], |
| 65 | + }, |
| 66 | + footer: { |
| 67 | + style: "dark", |
| 68 | + links: [ |
| 69 | + { |
| 70 | + title: "Docs", |
| 71 | + items: [ |
| 72 | + { |
| 73 | + label: "Overview", |
| 74 | + to: "/docs/overview", |
| 75 | + }, |
| 76 | + ], |
| 77 | + }, |
| 78 | + { |
| 79 | + title: "Community", |
| 80 | + items: [ |
| 81 | + { |
| 82 | + label: "Stack Overflow", |
| 83 | + href: "https://stackoverflow.com/questions/tagged/fs-devops", |
| 84 | + }, |
| 85 | + ], |
| 86 | + }, |
| 87 | + { |
| 88 | + title: "More", |
| 89 | + items: [ |
| 90 | + { |
| 91 | + label: "GitHub", |
| 92 | + href: "https://github.com/fullstack-devops/awesome-ci", |
| 93 | + }, |
| 94 | + ], |
| 95 | + }, |
| 96 | + ], |
| 97 | + copyright: `Copyright © ${new Date().getFullYear()} Fs DevOps. Built with Docusaurus.`, |
| 98 | + }, |
| 99 | + prism: { |
| 100 | + theme: prismThemes.github, |
| 101 | + darkTheme: prismThemes.dracula, |
| 102 | + }, |
| 103 | + } satisfies Preset.ThemeConfig, |
| 104 | +}; |
| 105 | + |
| 106 | +export default config; |
0 commit comments