Skip to content

Commit be04f3e

Browse files
feat: 添加原理导航和侧边栏,新增 Sandbox 画布模块文档
1 parent 3779c6d commit be04f3e

File tree

2 files changed

+449
-0
lines changed

2 files changed

+449
-0
lines changed

apps/quantum-docs/docs/.vitepress/config.ts

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,16 @@ function createNav(): DefaultTheme.NavItem[] {
9191
link: '/api/schema/',
9292
}
9393
],
94+
},
95+
{
96+
text: '原理',
97+
link: '/theory/introduction.md',
98+
items: [
99+
{
100+
text: '介绍',
101+
link: '/theory/introduction.md'
102+
}
103+
]
94104
}
95105
]
96106
}
@@ -155,6 +165,25 @@ function createSidebar(): DefaultTheme.Sidebar {
155165
text: '全局数据',
156166
link: '/api/schema/datasource.md'
157167
}]
168+
}],
169+
'/theory/': [{
170+
text: '原理',
171+
items: [{
172+
text: '介绍',
173+
link: '/theory/introduction.md'
174+
}, {
175+
text: '核心',
176+
link: '/theory/core.md'
177+
}, {
178+
text: '编辑器',
179+
link: '/theory/editor.md'
180+
}, {
181+
text: '画布',
182+
link: '/theory/sandbox.md'
183+
}, {
184+
text: '数据',
185+
link: '/api/schema/data-source.md'
186+
}]
158187
}]
159188
}
160189
}

0 commit comments

Comments
 (0)