|
| 1 | +import { withMermaid } from 'vitepress-plugin-mermaid' |
| 2 | +import { fileURLToPath, URL } from 'node:url' |
| 3 | + |
| 4 | +// https://vitepress.dev/reference/site-config |
| 5 | +export default withMermaid({ |
| 6 | + title: 'Network Operator', |
| 7 | + description: 'Cloud Native Network Device Provisioning', |
| 8 | + base: "/network-operator/", |
| 9 | + head: [ |
| 10 | + [ |
| 11 | + 'link', |
| 12 | + { |
| 13 | + rel: 'icon', |
| 14 | + href: 'https://raw.githubusercontent.com/ironcore-dev/network-operator/refs/heads/docs/docs/assets/network-operator-logo.png', |
| 15 | + }, |
| 16 | + ], |
| 17 | + ], |
| 18 | + vite: { |
| 19 | + resolve: { |
| 20 | + alias: [ |
| 21 | + { |
| 22 | + find: /^.*\/VPFooter\.vue$/, |
| 23 | + replacement: fileURLToPath(new URL('./theme/components/VPFooter.vue', import.meta.url)), |
| 24 | + }, |
| 25 | + ], |
| 26 | + }, |
| 27 | + }, |
| 28 | + themeConfig: { |
| 29 | + // https://vitepress.dev/reference/default-theme-config |
| 30 | + nav: [ |
| 31 | + { text: 'Home', link: '/' }, |
| 32 | + { |
| 33 | + text: 'Documentation', |
| 34 | + items: [ |
| 35 | + { text: 'Overview', link: '/overview' }, |
| 36 | + { text: 'API References', link: '/api/' }, |
| 37 | + ], |
| 38 | + }, |
| 39 | + { |
| 40 | + text: 'Projects', |
| 41 | + items: [ |
| 42 | + { text: 'ApeiroRA', link: 'https://apeirora.eu/' }, |
| 43 | + { text: 'IronCore', link: 'https://ironcore.dev/' }, |
| 44 | + { |
| 45 | + text: 'CobaltCore', |
| 46 | + link: 'https://cobaltcore-dev.github.io/docs/', |
| 47 | + }, |
| 48 | + ], |
| 49 | + }, |
| 50 | + ], |
| 51 | + |
| 52 | + editLink: { |
| 53 | + pattern: 'https://github.com/ironcore-dev/network-operator/blob/main/docs/:path', |
| 54 | + text: 'Edit this page on GitHub', |
| 55 | + }, |
| 56 | + |
| 57 | + logo: { |
| 58 | + src: 'https://raw.githubusercontent.com/ironcore-dev/network-operator/refs/heads/docs/docs/assets/network-operator-logo.png', |
| 59 | + width: 24, |
| 60 | + height: 24, |
| 61 | + }, |
| 62 | + |
| 63 | + search: { |
| 64 | + provider: 'local', |
| 65 | + }, |
| 66 | + |
| 67 | + sidebar: [ |
| 68 | + { |
| 69 | + text: 'Overview', |
| 70 | + items: [{ text: 'Index', link: '/overview/' }], |
| 71 | + }, |
| 72 | + { |
| 73 | + text: 'API References', |
| 74 | + items: [{ text: 'Index', link: '/api/' }], |
| 75 | + }, |
| 76 | + ], |
| 77 | + |
| 78 | + socialLinks: [{ icon: 'github', link: 'https://github.com/ironcore-dev/network-operator' }], |
| 79 | + }, |
| 80 | +}) |
0 commit comments