feat: 教程中心页与三项目教程视频清单(8 支视频含分镜)
mirror-to-gitee / mirror (push) Successful in 6s

This commit is contained in:
技小云
2026-11-05 11:52:48 +08:00
committed by MiFaZhan
parent 6944652966
commit a6eb3ffc98
6 changed files with 234 additions and 32 deletions
+14 -2
View File
@@ -72,6 +72,8 @@ export default defineConfig({
{ text: '界面预览', link: '/#preview' },
// activeMatch:进入任一项目详情页时「项目」保持高亮
{ text: '项目', link: '/projects/', activeMatch: '^/projects/' },
// 教程视频:站内页,含各项目的录制清单与分镜
{ text: '教程', link: '/guide/videos', activeMatch: '^/guide/videos' },
// 官方文档直接跳文档站(外站),不在本站内做锚点停留
{
text: '官方文档',
@@ -86,14 +88,24 @@ export default defineConfig({
{
text: '项目',
collapsed: false,
items: projects.map((p) => ({ text: p.name, link: p.page })),
// 每个项目带自己的子页面(快速开始 / 部署 / 教程等),
// 子页面清单来自注册表的 sections,不在此处重复维护。
items: projects.map((p) => ({
text: p.name,
link: p.page,
collapsed: false,
items: p.sections.map((s) => ({ text: s.text, link: s.link })),
})),
},
],
'/guide/': [
{
text: '门户',
collapsed: false,
items: [{ text: '门户部署', link: '/guide/portal-deploy' }],
items: [
{ text: '教程中心', link: '/guide/videos' },
{ text: '门户部署', link: '/guide/portal-deploy' },
],
},
],
},