-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsidebars.ts
More file actions
116 lines (113 loc) · 3.21 KB
/
Copy pathsidebars.ts
File metadata and controls
116 lines (113 loc) · 3.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
import type {SidebarsConfig} from '@docusaurus/plugin-content-docs';
const sidebars: SidebarsConfig = {
docsSidebar: [
'intro',
{
type: 'category',
label: '入门',
key: 'sidebar-getting-started',
collapsed: false,
link: {
type: 'generated-index',
slug: '/category/getting-started',
title: '入门',
description: '安装、快速上手与支持的平台版本。',
},
items: [{type: 'autogenerated', dirName: 'getting-started'}],
},
{
type: 'category',
label: '使用指南',
key: 'sidebar-guides',
collapsed: false,
link: {
type: 'generated-index',
slug: '/category/guides',
title: '使用指南',
description: '循序渐进:安装 → 互调 → 构建 → 日常用法 → 高级 Marshal → 迁移。',
},
items: [{type: 'autogenerated', dirName: 'guides'}],
},
{
type: 'category',
label: '核心概念',
key: 'sidebar-concepts',
collapsed: false,
link: {
type: 'generated-index',
slug: '/category/concepts',
title: '核心概念',
description: '设计模型、术语与选型摘要。',
},
items: [{type: 'autogenerated', dirName: 'concepts'}],
},
{
type: 'category',
label: '选型对比',
key: 'sidebar-compare',
collapsed: false,
link: {
type: 'generated-index',
slug: '/category/compare',
title: '选型对比',
description: '与 xLua / toLua / SLua 的特性、性能、GC 与桥体积对比(非行为契约)。',
},
items: [{type: 'autogenerated', dirName: 'compare'}],
},
{
type: 'category',
label: 'API 参考',
key: 'sidebar-reference',
collapsed: false,
link: {
type: 'generated-index',
slug: '/category/reference',
title: 'API 参考',
description: 'C# 特性、Lua API 与 Marshal 速查。',
},
items: [{type: 'autogenerated', dirName: 'reference'}],
},
{
type: 'category',
label: '规范文档',
key: 'sidebar-spec',
collapsed: true,
link: {
type: 'generated-index',
slug: '/category/spec',
title: '规范文档',
description: '权威语义规范(本仓库 docs/spec 为唯一标准)。',
},
items: [{type: 'autogenerated', dirName: 'spec'}],
},
{
type: 'category',
label: '社区',
key: 'sidebar-community',
collapsed: false,
link: {
type: 'generated-index',
slug: '/category/community',
title: '社区',
description: '路线图、测试、FAQ、迁移与联系方式。',
},
items: [{type: 'autogenerated', dirName: 'community'}],
},
],
architectureSidebar: [
{
type: 'category',
label: '架构与实现',
key: 'sidebar-impl',
collapsed: false,
link: {
type: 'generated-index',
slug: '/category/impl',
title: '架构与实现',
description: 'Mono / Il2Cpp 实现对照(不覆盖 spec)。',
},
items: [{type: 'autogenerated', dirName: 'impl'}],
},
],
};
export default sidebars;