|
| 1 | +import { defineConfig } from 'vitepress' |
| 2 | + |
| 3 | +export default defineConfig({ |
| 4 | + title: 'Skern', |
| 5 | + description: 'System-wide skill registry for AI agents', |
| 6 | + |
| 7 | + base: '/', |
| 8 | + cleanUrls: true, |
| 9 | + lastUpdated: true, |
| 10 | + |
| 11 | + head: [ |
| 12 | + ['link', { rel: 'icon', href: '/logo.png' }], |
| 13 | + ['meta', { property: 'og:type', content: 'website' }], |
| 14 | + ['meta', { property: 'og:title', content: 'Skern' }], |
| 15 | + ['meta', { property: 'og:description', content: 'System-wide skill registry for AI agents' }], |
| 16 | + ['meta', { property: 'og:url', content: 'https://skern.dev' }], |
| 17 | + ['meta', { property: 'og:image', content: 'https://skern.dev/logo.png' }], |
| 18 | + ['meta', { name: 'twitter:card', content: 'summary' }], |
| 19 | + ['meta', { name: 'twitter:title', content: 'Skern' }], |
| 20 | + ['meta', { name: 'twitter:description', content: 'System-wide skill registry for AI agents' }], |
| 21 | + ['meta', { name: 'twitter:image', content: 'https://skern.dev/logo.png' }], |
| 22 | + ], |
| 23 | + |
| 24 | + themeConfig: { |
| 25 | + logo: '/logo.png', |
| 26 | + |
| 27 | + nav: [ |
| 28 | + { text: 'Guide', link: '/guide/' }, |
| 29 | + { text: 'Reference', link: '/reference/' }, |
| 30 | + { text: 'Concepts', link: '/concepts/' }, |
| 31 | + { text: 'Platforms', link: '/platforms/' }, |
| 32 | + ], |
| 33 | + |
| 34 | + sidebar: { |
| 35 | + '/guide/': [ |
| 36 | + { |
| 37 | + text: 'Guide', |
| 38 | + items: [ |
| 39 | + { text: 'Getting Started', link: '/guide/' }, |
| 40 | + { text: 'Installation', link: '/guide/installation' }, |
| 41 | + { text: 'Quick Start', link: '/guide/quick-start' }, |
| 42 | + { text: 'Agent Setup', link: '/guide/agent-setup' }, |
| 43 | + ], |
| 44 | + }, |
| 45 | + ], |
| 46 | + '/reference/': [ |
| 47 | + { |
| 48 | + text: 'Reference', |
| 49 | + items: [ |
| 50 | + { text: 'Overview', link: '/reference/' }, |
| 51 | + { text: 'Commands', link: '/reference/commands' }, |
| 52 | + { text: 'Validation', link: '/reference/validation' }, |
| 53 | + { text: 'Overlap Detection', link: '/reference/overlap-detection' }, |
| 54 | + ], |
| 55 | + }, |
| 56 | + ], |
| 57 | + '/concepts/': [ |
| 58 | + { |
| 59 | + text: 'Concepts', |
| 60 | + items: [ |
| 61 | + { text: 'Architecture', link: '/concepts/' }, |
| 62 | + { text: 'Skill Format', link: '/concepts/skill-format' }, |
| 63 | + { text: 'Registry', link: '/concepts/registry' }, |
| 64 | + { text: 'Platform Adapters', link: '/concepts/platform-adapters' }, |
| 65 | + ], |
| 66 | + }, |
| 67 | + ], |
| 68 | + '/platforms/': [ |
| 69 | + { |
| 70 | + text: 'Platforms', |
| 71 | + items: [ |
| 72 | + { text: 'Overview', link: '/platforms/' }, |
| 73 | + { text: 'Claude Code', link: '/platforms/claude-code' }, |
| 74 | + { text: 'Codex CLI', link: '/platforms/codex-cli' }, |
| 75 | + { text: 'OpenCode', link: '/platforms/opencode' }, |
| 76 | + ], |
| 77 | + }, |
| 78 | + ], |
| 79 | + '/contributing/': [ |
| 80 | + { |
| 81 | + text: 'Contributing', |
| 82 | + items: [ |
| 83 | + { text: 'Contributing Guide', link: '/contributing/' }, |
| 84 | + { text: 'Development', link: '/contributing/development' }, |
| 85 | + { text: 'Manual Testing', link: '/contributing/manual-testing' }, |
| 86 | + ], |
| 87 | + }, |
| 88 | + ], |
| 89 | + }, |
| 90 | + |
| 91 | + socialLinks: [ |
| 92 | + { icon: 'github', link: 'https://github.com/devrimcavusoglu/skern' }, |
| 93 | + ], |
| 94 | + |
| 95 | + editLink: { |
| 96 | + pattern: 'https://github.com/devrimcavusoglu/skern/edit/main/docs/:path', |
| 97 | + text: 'Edit this page on GitHub', |
| 98 | + }, |
| 99 | + |
| 100 | + search: { |
| 101 | + provider: 'local', |
| 102 | + }, |
| 103 | + |
| 104 | + footer: { |
| 105 | + message: 'Released under the Apache 2.0 License.', |
| 106 | + copyright: 'Copyright © 2025-present Devrim Cavusoglu', |
| 107 | + }, |
| 108 | + }, |
| 109 | +}) |
0 commit comments