1+ import { defineConfig } from 'vitepress'
2+
3+ export default defineConfig ( {
4+ ignoreDeadLinks : true ,
5+ title : "Context Generator Docs" ,
6+ description : "Documentation for Context Generator for LLM" ,
7+ themeConfig : {
8+ // https://vitepress.dev/reference/default-theme-config
9+ search : {
10+ provider : 'local'
11+ } ,
12+
13+ nav : [
14+ { text : 'Docs' , link : '/' } ,
15+ { text : 'GitHub' , link : 'https://github.com/butschster/context-generator' } ,
16+ { text : 'Json Schema' , link : 'https://raw.githubusercontent.com/butschster/context-generator/refs/heads/main/json-schema.json' }
17+ ] ,
18+
19+ sidebar : [
20+ {
21+ text : 'Home' ,
22+ link : '/'
23+ } ,
24+ {
25+ text : 'Getting Started' ,
26+ items : [
27+ { text : 'Installation' , link : '/getting-started' } ,
28+ { text : 'Configuration' , link : '/configuration' } ,
29+ { text : 'Command Reference' , link : '/getting-started/command-reference' } ,
30+ { text : 'Environment Variables' , link : '/environment-variables' } ,
31+ { text : 'IDE Integration' , link : '/getting-started/ide-integration' } ,
32+ { text : 'Logging' , link : '/advanced/logging' }
33+ ]
34+ } ,
35+ {
36+ text : 'Config Reference' ,
37+ items : [
38+ { text : 'Document Structure' , link : '/documents' } ,
39+ { text : 'File Source' , link : '/sources/file-source' } ,
40+ { text : 'GitHub Source' , link : '/sources/github-source' } ,
41+ { text : 'Git Diff Source' , link : '/sources/git-diff-source' } ,
42+ { text : 'URL Source' , link : '/sources/url-source' } ,
43+ { text : 'Text Source' , link : '/sources/text-source' } ,
44+ { text : 'Composer Source' , link : '/sources/composer-source' } ,
45+ { text : 'Tree Source' , link : '/sources/tree-source' }
46+ ]
47+ } ,
48+ {
49+ text : 'Modifiers' ,
50+ items : [
51+ { text : 'What is a Modifier?' , link : '/modifiers' } ,
52+ { text : 'PHP Signature Modifier' , link : '/modifiers/php-signature' } ,
53+ { text : 'PHP Content Filter Modifier' , link : '/modifiers/php-content-filter' } ,
54+ { text : 'Sanitizer Modifier' , link : '/modifiers/sanitizer' } ,
55+ { text : 'PHP-Docs Modifier' , link : '/modifiers/php-docs' } ,
56+ { text : 'Document-Level Modifiers' , link : '/modifiers/document-level' } ,
57+ { text : 'Modifier Aliases' , link : '/modifiers/aliases' }
58+ ]
59+ } ,
60+ {
61+ text : 'Advanced' ,
62+ items : [
63+ { text : 'Development with Context Generator' , link : '/advanced/development-process' } ,
64+ ] ,
65+ } ,
66+ {
67+ text : 'Contributing' ,
68+ link : '/contributing' ,
69+ }
70+ ] ,
71+
72+ socialLinks : [
73+ { icon : 'github' , link : 'https://github.com/butschster/context-generator' }
74+ ]
75+ }
76+ } )
0 commit comments