This commit is contained in:
oneao committed 2026-10-13 22:32:50 +08:00
1 parent f3936cec61
commit 15e0ae5b67
115 files changed
+11399 -2741

No files matched your search

+33 -1
View File
@@ -87,6 +87,8 @@ export default defineConfig({
},
themeConfig: {
// 顶栏板块导航不在这里配:它由 theme/HeaderSections.vue 渲染
// (带 icon 的三个板块入口)。两边都配会出现重复入口。
nav: [],
// 按路径前缀分段,替代原 Docus 的 .navigation.yml 与 navigation.sub:
@@ -181,13 +183,43 @@ export default defineConfig({
] satisfies G3SidebarItem[],
'/api/': [
{
text: '接口文档',
text: '开始',
icon: 'cable',
collapsed: false,
items: [
{ text: '快速开始', link: '/api/getting-started' },
{ text: '登录与鉴权', link: '/api/auth' },
],
},
{
text: '数据',
icon: 'table-properties',
collapsed: false,
items: [
{ text: '数据查询', link: '/api/data' },
{ text: '数据写入', link: '/api/save' },
{ text: '导出', link: '/api/export' },
{ text: '附件', link: '/api/file' },
],
},
{
text: '工作流',
icon: 'git-branch',
collapsed: false,
items: [
{ text: '流程配置', link: '/api/workflow' },
{ text: '流程运行', link: '/api/workflow-runtime' },
],
},
] satisfies G3SidebarItem[],
'/backend/': [
{
text: '后端',
icon: 'database',
collapsed: false,
items: [
{ text: '后端架构', link: '/backend/architecture' },
{ text: '数据表结构', link: '/backend/schema' },
],
},
] satisfies G3SidebarItem[],