|
| 1 | +import { defineConfig } from 'vitepress' |
| 2 | +import { withMermaid } from 'vitepress-plugin-mermaid' |
| 3 | + |
| 4 | +export default withMermaid( |
| 5 | + defineConfig({ |
| 6 | + title: 'NVIDIA AI Cluster Runtime', |
| 7 | + description: 'Optimized, validated, and reproducible Kubernetes configurations for GPU infrastructure', |
| 8 | + base: '/', |
| 9 | + appearance: 'dark', |
| 10 | + lastUpdated: true, |
| 11 | + ignoreDeadLinks: [ |
| 12 | + /localhost/, // Example URLs in docs |
| 13 | + /\/index$/, // VitePress resolves these automatically |
| 14 | + ], |
| 15 | + |
| 16 | + markdown: { |
| 17 | + // Prevent Vue from interpreting {{ }} in code blocks as template syntax |
| 18 | + // (common in Go templates, Helm, GitHub Actions, Ansible) |
| 19 | + attrs: { disable: true }, |
| 20 | + }, |
| 21 | + |
| 22 | + vue: { |
| 23 | + template: { |
| 24 | + compilerOptions: { |
| 25 | + // Treat all {{ }} outside of Vue components as raw text |
| 26 | + }, |
| 27 | + }, |
| 28 | + }, |
| 29 | + |
| 30 | + head: [ |
| 31 | + ['link', { rel: 'icon', type: 'image/png', href: '/images/favicon.png' }], |
| 32 | + ], |
| 33 | + |
| 34 | + themeConfig: { |
| 35 | + logo: undefined, |
| 36 | + siteTitle: 'AI Cluster Runtime', |
| 37 | + |
| 38 | + nav: [ |
| 39 | + { text: 'Docs', link: '/docs/' }, |
| 40 | + { text: 'GitHub', link: 'https://github.com/NVIDIA/aicr' }, |
| 41 | + ], |
| 42 | + |
| 43 | + sidebar: { |
| 44 | + '/docs/': [ |
| 45 | + { |
| 46 | + text: 'Getting Started', |
| 47 | + link: '/docs/getting-started/', |
| 48 | + }, |
| 49 | + { |
| 50 | + text: 'User Guide', |
| 51 | + collapsed: false, |
| 52 | + items: [ |
| 53 | + { text: 'Installation', link: '/docs/user/installation' }, |
| 54 | + { text: 'CLI Reference', link: '/docs/user/cli-reference' }, |
| 55 | + { text: 'API Reference', link: '/docs/user/api-reference' }, |
| 56 | + { text: 'Agent Deployment', link: '/docs/user/agent-deployment' }, |
| 57 | + ], |
| 58 | + }, |
| 59 | + { |
| 60 | + text: 'Integrator Guide', |
| 61 | + collapsed: false, |
| 62 | + items: [ |
| 63 | + { text: 'Automation', link: '/docs/integrator/automation' }, |
| 64 | + { text: 'Data Flow', link: '/docs/integrator/data-flow' }, |
| 65 | + { text: 'Kubernetes Deployment', link: '/docs/integrator/kubernetes-deployment' }, |
| 66 | + { text: 'EKS Dynamo Networking', link: '/docs/integrator/eks-dynamo-networking' }, |
| 67 | + { text: 'Recipe Development', link: '/docs/integrator/recipe-development' }, |
| 68 | + ], |
| 69 | + }, |
| 70 | + { |
| 71 | + text: 'Contributor Guide', |
| 72 | + collapsed: false, |
| 73 | + items: [ |
| 74 | + { text: 'CLI', link: '/docs/contributor/cli' }, |
| 75 | + { text: 'API Server', link: '/docs/contributor/api-server' }, |
| 76 | + { text: 'Data Architecture', link: '/docs/contributor/data' }, |
| 77 | + { text: 'Component Development', link: '/docs/contributor/component' }, |
| 78 | + { text: 'Validations', link: '/docs/contributor/validations' }, |
| 79 | + ], |
| 80 | + }, |
| 81 | + { |
| 82 | + text: 'Conformance', |
| 83 | + collapsed: true, |
| 84 | + items: [ |
| 85 | + { text: 'Overview', link: '/docs/conformance/' }, |
| 86 | + { text: 'DRA Support', link: '/docs/conformance/evidence/dra-support' }, |
| 87 | + { text: 'Gang Scheduling', link: '/docs/conformance/evidence/gang-scheduling' }, |
| 88 | + { text: 'Secure Accelerator Access', link: '/docs/conformance/evidence/secure-accelerator-access' }, |
| 89 | + { text: 'Accelerator Metrics', link: '/docs/conformance/evidence/accelerator-metrics' }, |
| 90 | + { text: 'Inference Gateway', link: '/docs/conformance/evidence/inference-gateway' }, |
| 91 | + { text: 'Robust Operator', link: '/docs/conformance/evidence/robust-operator' }, |
| 92 | + { text: 'Pod Autoscaling', link: '/docs/conformance/evidence/pod-autoscaling' }, |
| 93 | + { text: 'Cluster Autoscaling', link: '/docs/conformance/evidence/cluster-autoscaling' }, |
| 94 | + ], |
| 95 | + }, |
| 96 | + { |
| 97 | + text: 'Project', |
| 98 | + collapsed: true, |
| 99 | + items: [ |
| 100 | + { text: 'Contributing', link: '/docs/project/contributing' }, |
| 101 | + { text: 'Development', link: '/docs/project/development' }, |
| 102 | + { text: 'Releasing', link: '/docs/project/releasing' }, |
| 103 | + { text: 'Changelog', link: '/docs/project/changelog' }, |
| 104 | + { text: 'Roadmap', link: '/docs/project/roadmap' }, |
| 105 | + { text: 'Security', link: '/docs/project/security' }, |
| 106 | + { text: 'Code of Conduct', link: '/docs/project/code-of-conduct' }, |
| 107 | + { text: 'Maintainers', link: '/docs/project/maintainers' }, |
| 108 | + ], |
| 109 | + }, |
| 110 | + ], |
| 111 | + }, |
| 112 | + |
| 113 | + socialLinks: [ |
| 114 | + { icon: 'github', link: 'https://github.com/NVIDIA/aicr' }, |
| 115 | + ], |
| 116 | + |
| 117 | + search: { |
| 118 | + provider: 'local', |
| 119 | + }, |
| 120 | + |
| 121 | + editLink: { |
| 122 | + pattern: 'https://github.com/NVIDIA/aicr/edit/main/site/:path', |
| 123 | + text: 'Edit this page on GitHub', |
| 124 | + }, |
| 125 | + |
| 126 | + footer: { |
| 127 | + message: 'Released under the Apache 2.0 License.', |
| 128 | + copyright: 'Copyright © 2026 NVIDIA Corporation', |
| 129 | + }, |
| 130 | + }, |
| 131 | + }) |
| 132 | +) |
0 commit comments