1
1
import { defineConfig } from 'vitepress'
2
+ import { withMermaid } from "vitepress-plugin-mermaid" ;
2
3
3
- export default defineConfig ( {
4
+ export default withMermaid ( {
4
5
ignoreDeadLinks : true ,
5
6
title : "Context Generator Docs" ,
6
7
description : "Documentation for Context Generator for LLM" ,
@@ -13,7 +14,10 @@ export default defineConfig({
13
14
nav : [
14
15
{ text : 'Docs' , link : '/' } ,
15
16
{ text : 'GitHub' , link : 'https://github.com/context-hub/generator' } ,
16
- { text : 'Json Schema' , link : 'https://raw.githubusercontent.com/context-hub/generator/refs/heads/main/json-schema.json' }
17
+ {
18
+ text : 'Json Schema' ,
19
+ link : 'https://raw.githubusercontent.com/context-hub/generator/refs/heads/main/json-schema.json'
20
+ }
17
21
] ,
18
22
19
23
sidebar : [
@@ -29,6 +33,7 @@ export default defineConfig({
29
33
items : [
30
34
{ text : 'Installation' , link : '/getting-started' } ,
31
35
{ text : 'Configuration' , link : '/configuration' } ,
36
+ { text : 'MCP Server' , link : '/mcp-server' } ,
32
37
{ text : 'Command Reference' , link : '/getting-started/command-reference' } ,
33
38
{ text : 'Environment Variables' , link : '/environment-variables' } ,
34
39
{ text : 'IDE Integration' , link : '/getting-started/ide-integration' } ,
@@ -63,6 +68,8 @@ export default defineConfig({
63
68
{
64
69
text : 'Advanced' ,
65
70
items : [
71
+ { text : 'Instructions (Examples)' , link : '/advanced/instructions' } ,
72
+ { text : 'Development steps' , link : '/advanced/development-steps' } ,
66
73
{ text : 'Development with Context Generator' , link : '/advanced/development-process' } ,
67
74
{ text : 'LLM Integration: Smart Context Requesting' , link : '/advanced/smart-context-requesting' } ,
68
75
] ,
@@ -76,5 +83,12 @@ export default defineConfig({
76
83
socialLinks : [
77
84
{ icon : 'github' , link : 'https://github.com/context-hub/docs' }
78
85
]
79
- }
80
- } )
86
+ } ,
87
+ mermaid : {
88
+ // refer https://mermaid.js.org/config/setup/modules/mermaidAPI.html#mermaidapi-configuration-defaults for options
89
+ } ,
90
+ // optionally set additional config for plugin itself with MermaidPluginConfig
91
+ mermaidPlugin : {
92
+ class : "mermaid my-class" , // set additional css classes for parent container
93
+ } ,
94
+ } ) ;
0 commit comments