|
| 1 | +import { defineConfig } from 'vitepress'; |
| 2 | + |
| 3 | +export default defineConfig({ |
| 4 | + title: 'AFDocs', |
| 5 | + description: 'Test your documentation site against the Agent-Friendly Documentation Spec', |
| 6 | + |
| 7 | + sitemap: { |
| 8 | + hostname: 'https://afdocs.dev', |
| 9 | + }, |
| 10 | + |
| 11 | + head: [ |
| 12 | + ['link', { rel: 'icon', type: 'image/x-icon', href: '/favicons/favicon.ico' }], |
| 13 | + [ |
| 14 | + 'link', |
| 15 | + { rel: 'icon', type: 'image/png', sizes: '32x32', href: '/favicons/favicon-32x32.png' }, |
| 16 | + ], |
| 17 | + [ |
| 18 | + 'link', |
| 19 | + { rel: 'icon', type: 'image/png', sizes: '16x16', href: '/favicons/favicon-16x16.png' }, |
| 20 | + ], |
| 21 | + [ |
| 22 | + 'link', |
| 23 | + { rel: 'apple-touch-icon', sizes: '180x180', href: '/favicons/apple-icon-180x180.png' }, |
| 24 | + ], |
| 25 | + ], |
| 26 | + |
| 27 | + themeConfig: { |
| 28 | + siteTitle: 'AFDocs', |
| 29 | + logo: { |
| 30 | + light: '/logos/afdoc_logo_light.svg', |
| 31 | + dark: '/logos/afdoc_logo_dark.svg', |
| 32 | + }, |
| 33 | + |
| 34 | + nav: [ |
| 35 | + { text: 'Guide', link: '/what-is-agent-score' }, |
| 36 | + { text: 'Checks', link: '/checks/' }, |
| 37 | + { text: 'Reference', link: '/reference/cli' }, |
| 38 | + ], |
| 39 | + |
| 40 | + sidebar: [ |
| 41 | + { |
| 42 | + text: 'The Score', |
| 43 | + items: [ |
| 44 | + { text: 'What Is the Agent Score?', link: '/what-is-agent-score' }, |
| 45 | + { |
| 46 | + text: 'Why Agent-Friendliness Matters', |
| 47 | + link: '/why-agent-friendliness-matters', |
| 48 | + }, |
| 49 | + { |
| 50 | + text: 'Score Calculation', |
| 51 | + link: '/agent-score-calculation', |
| 52 | + }, |
| 53 | + { |
| 54 | + text: 'Interaction Diagnostics', |
| 55 | + link: '/interaction-diagnostics', |
| 56 | + }, |
| 57 | + ], |
| 58 | + }, |
| 59 | + { |
| 60 | + text: 'Get Started', |
| 61 | + items: [ |
| 62 | + { text: 'Quick Start', link: '/quick-start' }, |
| 63 | + { text: 'Run Locally', link: '/run-locally' }, |
| 64 | + { text: 'Improve Your Score', link: '/improve-your-score' }, |
| 65 | + { text: 'CI Integration', link: '/ci-integration' }, |
| 66 | + ], |
| 67 | + }, |
| 68 | + { |
| 69 | + text: 'Checks Reference', |
| 70 | + items: [ |
| 71 | + { text: 'Overview', link: '/checks/' }, |
| 72 | + { |
| 73 | + text: 'Content Discoverability', |
| 74 | + link: '/checks/content-discoverability', |
| 75 | + }, |
| 76 | + { |
| 77 | + text: 'Markdown Availability', |
| 78 | + link: '/checks/markdown-availability', |
| 79 | + }, |
| 80 | + { text: 'Page Size', link: '/checks/page-size' }, |
| 81 | + { text: 'Content Structure', link: '/checks/content-structure' }, |
| 82 | + { text: 'URL Stability', link: '/checks/url-stability' }, |
| 83 | + { text: 'Observability', link: '/checks/observability' }, |
| 84 | + { text: 'Authentication', link: '/checks/authentication' }, |
| 85 | + ], |
| 86 | + }, |
| 87 | + { |
| 88 | + text: 'API Reference', |
| 89 | + items: [ |
| 90 | + { text: 'CLI', link: '/reference/cli' }, |
| 91 | + { text: 'Programmatic API', link: '/reference/programmatic-api' }, |
| 92 | + { text: 'Scoring API', link: '/reference/scoring-api' }, |
| 93 | + { text: 'Config File', link: '/reference/config-file' }, |
| 94 | + ], |
| 95 | + }, |
| 96 | + { |
| 97 | + text: 'About', |
| 98 | + items: [{ text: 'About AFDocs', link: '/about' }], |
| 99 | + }, |
| 100 | + ], |
| 101 | + |
| 102 | + socialLinks: [ |
| 103 | + { |
| 104 | + icon: 'github', |
| 105 | + link: 'https://github.com/agent-ecosystem/afdocs', |
| 106 | + }, |
| 107 | + ], |
| 108 | + |
| 109 | + editLink: { |
| 110 | + pattern: 'https://github.com/agent-ecosystem/afdocs/edit/main/docs/:path', |
| 111 | + }, |
| 112 | + |
| 113 | + footer: { |
| 114 | + message: 'Released under the MIT License.', |
| 115 | + }, |
| 116 | + }, |
| 117 | +}); |
0 commit comments