-
Notifications
You must be signed in to change notification settings - Fork 7
/
sidebars.js
153 lines (146 loc) · 3.04 KB
/
sidebars.js
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
/**
* Creating a sidebar enables you to:
- create an ordered group of docs
- render a sidebar for each doc of that group
- provide next/previous navigation
The sidebars can be generated from the filesystem, or explicitly defined here.
Create as many sidebars as you want.
*/
// @ts-check
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
// By default, Docusaurus generates a sidebar from the docs folder structure
// tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
// But you can create a sidebar manually
/*
tutorialSidebar: [
'intro',
'hello',
{
type: 'category',
label: 'Tutorial',
items: ['tutorial-basics/create-a-document'],
},
],
*/
userManualSidebar: [
{
type: 'doc',
label: '开始',
id: 'user-manual/getting-started',
},
{
type: 'doc',
label: '别像弱智一样提问',
id: 'user-manual/scientific-question',
},
{
type: 'doc',
label: '安装',
id: 'user-manual/installation',
},
{
type: 'doc',
label: '进阶使用',
id: 'user-manual/advance',
},
{
type: 'doc',
label: '模拟器支持',
id: 'user-manual/emulator-support',
},
{
type: 'doc',
label: '消息推送',
id: 'user-manual/notify',
},
{
type: 'doc',
label: '百鬼夜行',
id: 'user-manual/hyakkiyakou',
},
{
type: 'doc',
label: '协同系统',
id: 'user-manual/team-flow',
},
{
type: 'doc',
label: '常见问题',
id: 'user-manual/frequently-asked-questions',
},
{
type: 'doc',
label: '任务列表',
id: 'user-manual/task-list',
},
{
type: 'doc',
label: '问题反馈',
id: 'user-manual/issue-reporting',
},
],
developmentSidebar: [
{
type: 'doc',
label: '导言',
id: 'development/preamble',
},
{
type: 'doc',
label: 'Pull Request',
id: 'development/pull-request',
},
{
type: 'doc',
label: '用户选项',
id: 'development/user-option',
},
{
type: 'doc',
label: '操控设备',
id: 'development/manipulation-device',
},
{
type: 'doc',
label: '过程元素',
id: 'development/process-element',
},
{
type: 'doc',
label: '调试',
id: 'development/debugging',
},
{
type: 'doc',
label: '日志系统',
id: 'development/log',
},
{
type: 'doc',
label: '异常',
id: 'development/exception',
},
{
type: 'doc',
label: '装饰器',
id: 'development/decorators',
},
{
type: 'doc',
label: '开发工具',
id: 'development/dev-tools',
},
{
type: 'doc',
label: '游戏逻辑复用',
id: 'development/game-logic-reuse',
},
{
type: 'doc',
label: '编写任务示例',
id: 'development/task-example',
},
]
};
module.exports = sidebars;