|
| 1 | +import { defineConfig } from 'vitepress' |
| 2 | + |
| 3 | +export default defineConfig({ |
| 4 | + title: 'APIForge', |
| 5 | + description: 'API observability & intelligence — local-first, privacy-first', |
| 6 | + base: '/docs/', |
| 7 | + |
| 8 | + head: [ |
| 9 | + ['link', { rel: 'icon', href: '/docs/favicon.ico' }], |
| 10 | + ['meta', { name: 'theme-color', content: '#0066FF' }], |
| 11 | + ['meta', { property: 'og:type', content: 'website' }], |
| 12 | + ['meta', { property: 'og:title', content: 'APIForge Docs' }], |
| 13 | + ['meta', { property: 'og:description', content: 'API observability SDK — local-first, privacy-first. Up and running in 5 minutes.' }], |
| 14 | + ], |
| 15 | + |
| 16 | + themeConfig: { |
| 17 | + logo: { light: '/logo-light.svg', dark: '/logo-dark.svg', alt: 'APIForge' }, |
| 18 | + |
| 19 | + nav: [ |
| 20 | + { text: 'Guide', link: '/guide/getting-started' }, |
| 21 | + { text: 'Features', link: '/features/insights' }, |
| 22 | + { text: 'API Reference', link: '/guide/configuration' }, |
| 23 | + { |
| 24 | + text: 'v0.1.0', |
| 25 | + items: [ |
| 26 | + { text: 'Changelog', link: 'https://github.com/APIForge-Organisation/sdk-nodejs/blob/main/CHANGELOG.md' }, |
| 27 | + { text: 'npm', link: 'https://www.npmjs.com/package/apiforgejs' }, |
| 28 | + ], |
| 29 | + }, |
| 30 | + ], |
| 31 | + |
| 32 | + sidebar: { |
| 33 | + '/guide/': [ |
| 34 | + { |
| 35 | + text: 'Getting Started', |
| 36 | + items: [ |
| 37 | + { text: 'What is APIForge?', link: '/guide/what-is-apiforge' }, |
| 38 | + { text: 'Quick Start', link: '/guide/getting-started' }, |
| 39 | + { text: 'Configuration', link: '/guide/configuration' }, |
| 40 | + ], |
| 41 | + }, |
| 42 | + { |
| 43 | + text: 'Dashboard', |
| 44 | + items: [ |
| 45 | + { text: 'Local Dashboard', link: '/guide/dashboard' }, |
| 46 | + ], |
| 47 | + }, |
| 48 | + ], |
| 49 | + '/features/': [ |
| 50 | + { |
| 51 | + text: 'Features', |
| 52 | + items: [ |
| 53 | + { text: 'Automatic Insights', link: '/features/insights' }, |
| 54 | + { text: 'Health Score', link: '/features/health-score' }, |
| 55 | + { text: 'Release Tracking', link: '/features/release-tracking' }, |
| 56 | + ], |
| 57 | + }, |
| 58 | + ], |
| 59 | + }, |
| 60 | + |
| 61 | + socialLinks: [ |
| 62 | + { icon: 'github', link: 'https://github.com/APIForge-Organisation' }, |
| 63 | + { icon: 'npm', link: 'https://www.npmjs.com/package/apiforgejs' }, |
| 64 | + ], |
| 65 | + |
| 66 | + editLink: { |
| 67 | + pattern: 'https://github.com/APIForge-Organisation/docs/edit/main/docs/:path', |
| 68 | + text: 'Edit this page on GitHub', |
| 69 | + }, |
| 70 | + |
| 71 | + footer: { |
| 72 | + message: 'Released under the MIT License.', |
| 73 | + copyright: 'Copyright © 2026 APIForge', |
| 74 | + }, |
| 75 | + |
| 76 | + search: { |
| 77 | + provider: 'local', |
| 78 | + }, |
| 79 | + }, |
| 80 | +}) |
0 commit comments