11import { defineConfig } from 'vitepress'
2+ import { withMermaid } from 'vitepress-plugin-mermaid'
23
3- export default defineConfig ( {
4+ export default withMermaid ( defineConfig ( {
45 title : 'Concept Kernel Protocol' ,
56 description : 'An open protocol for autonomous concept governance across distributed agents' ,
67
@@ -20,54 +21,110 @@ export default defineConfig({
2021 siteTitle : 'Concept Kernel' ,
2122
2223 nav : [
23- { text : 'Docs' , link : '/introduction' } ,
24- { text : 'Architecture' , link : '/architecture' } ,
25- { text : 'Concepts' , link : '/concepts/kernels' } ,
26- { text : 'Get Started' , link : '/getting-started/quickstart' } ,
2724 {
28- text : 'Community ' ,
25+ text : 'v3.4 ' ,
2926 items : [
30- { text : 'Discord' , link : 'https://discord.gg/sTbfxV9xyU' } ,
31- { text : 'GitHub' , link : 'https://github.com/ConceptKernel' } ,
32- ]
33- }
34- ] ,
35-
36- sidebar : [
37- {
38- text : 'Introduction' ,
39- items : [
40- { text : 'What is CKP?' , link : '/introduction' } ,
41- { text : 'Architecture' , link : '/architecture' } ,
42- ]
43- } ,
44- {
45- text : 'Core Concepts' ,
46- items : [
47- { text : 'Kernels' , link : '/concepts/kernels' } ,
48- { text : 'Ontology' , link : '/concepts/ontology' } ,
49- { text : 'Protocol' , link : '/concepts/protocol' } ,
50- { text : 'Consensus' , link : '/concepts/consensus' } ,
51- { text : 'Governance' , link : '/concepts/governance' } ,
52- ]
53- } ,
54- {
55- text : 'Getting Started' ,
56- items : [
57- { text : 'Quickstart' , link : '/getting-started/quickstart' } ,
58- { text : 'Installation' , link : '/getting-started/installation' } ,
27+ { text : 'v3.4 (stable)' , link : '/v3.4/' } ,
28+ { text : 'v3.5-alpha3' , link : '/v3.5-alpha3/' } ,
5929 ]
6030 } ,
31+ { text : 'Docs' , link : '/v3.4/introduction' } ,
32+ { text : 'Architecture' , link : '/v3.4/architecture' } ,
33+ { text : 'Concepts' , link : '/v3.4/concepts/kernels' } ,
34+ { text : 'Get Started' , link : '/v3.4/getting-started/quickstart' } ,
6135 {
6236 text : 'Community' ,
6337 items : [
64- { text : 'Join Discord' , link : 'https://discord.gg/sTbfxV9xyU' } ,
38+ { text : 'Discord' , link : 'https://discord.gg/sTbfxV9xyU' } ,
6539 { text : 'GitHub' , link : 'https://github.com/ConceptKernel' } ,
66- { text : 'Contributing' , link : '/contributing' } ,
6740 ]
6841 }
6942 ] ,
7043
44+ sidebar : {
45+ '/v3.4/' : [
46+ {
47+ text : 'Introduction' ,
48+ items : [
49+ { text : 'What is CKP?' , link : '/v3.4/introduction' } ,
50+ { text : 'Architecture' , link : '/v3.4/architecture' } ,
51+ ]
52+ } ,
53+ {
54+ text : 'Core Concepts' ,
55+ items : [
56+ { text : 'Kernels' , link : '/v3.4/concepts/kernels' } ,
57+ { text : 'Ontology' , link : '/v3.4/concepts/ontology' } ,
58+ { text : 'Protocol' , link : '/v3.4/concepts/protocol' } ,
59+ { text : 'Consensus' , link : '/v3.4/concepts/consensus' } ,
60+ { text : 'Governance' , link : '/v3.4/concepts/governance' } ,
61+ ]
62+ } ,
63+ {
64+ text : 'Getting Started' ,
65+ items : [
66+ { text : 'Quickstart' , link : '/v3.4/getting-started/quickstart' } ,
67+ { text : 'Installation' , link : '/v3.4/getting-started/installation' } ,
68+ ]
69+ } ,
70+ {
71+ text : 'Community' ,
72+ items : [
73+ { text : 'Join Discord' , link : 'https://discord.gg/sTbfxV9xyU' } ,
74+ { text : 'GitHub' , link : 'https://github.com/ConceptKernel' } ,
75+ { text : 'Contributing' , link : '/v3.4/contributing' } ,
76+ ]
77+ }
78+ ] ,
79+ '/v3.5-alpha3/' : [
80+ {
81+ text : 'Introduction' ,
82+ items : [
83+ { text : 'What is CKP?' , link : '/v3.5-alpha3/introduction' } ,
84+ { text : 'Architecture' , link : '/v3.5-alpha3/architecture' } ,
85+ ]
86+ } ,
87+ {
88+ text : 'Core Concepts' ,
89+ items : [
90+ { text : 'Kernels' , link : '/v3.5-alpha3/concepts/kernels' } ,
91+ { text : 'Ontology' , link : '/v3.5-alpha3/concepts/ontology' } ,
92+ { text : 'Protocol' , link : '/v3.5-alpha3/concepts/protocol' } ,
93+ { text : 'Consensus' , link : '/v3.5-alpha3/concepts/consensus' } ,
94+ { text : 'Governance' , link : '/v3.5-alpha3/concepts/governance' } ,
95+ ]
96+ } ,
97+ {
98+ text : 'Ontology' ,
99+ items : [
100+ { text : 'Versions' , link : '/v3.5-alpha3/ontology/versions' } ,
101+ ]
102+ } ,
103+ {
104+ text : 'Spec' ,
105+ items : [
106+ { text : 'Three Loops' , link : '/v3.5-alpha3/spec/three-loops' } ,
107+ { text : 'Proof Model' , link : '/v3.5-alpha3/spec/proof-model' } ,
108+ ]
109+ } ,
110+ {
111+ text : 'Getting Started' ,
112+ items : [
113+ { text : 'Quickstart' , link : '/v3.5-alpha3/getting-started/quickstart' } ,
114+ { text : 'Installation' , link : '/v3.5-alpha3/getting-started/installation' } ,
115+ ]
116+ } ,
117+ {
118+ text : 'Community' ,
119+ items : [
120+ { text : 'Join Discord' , link : 'https://discord.gg/sTbfxV9xyU' } ,
121+ { text : 'GitHub' , link : 'https://github.com/ConceptKernel' } ,
122+ { text : 'Contributing' , link : '/v3.5-alpha3/contributing' } ,
123+ ]
124+ }
125+ ] ,
126+ } ,
127+
71128 socialLinks : [
72129 { icon : 'github' , link : 'https://github.com/ConceptKernel' } ,
73130 { icon : 'discord' , link : 'https://discord.gg/sTbfxV9xyU' } ,
@@ -86,5 +143,7 @@ export default defineConfig({
86143 pattern : 'https://github.com/ConceptKernel/conceptkernel.github.io/edit/main/docs/:path' ,
87144 text : 'Edit this page on GitHub'
88145 }
89- }
90- } )
146+ } ,
147+
148+ mermaid : { } ,
149+ } ) )
0 commit comments