-
Notifications
You must be signed in to change notification settings - Fork 2
/
sidebar.ts
291 lines (290 loc) · 8.58 KB
/
sidebar.ts
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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
import { DefaultTheme } from 'vitepress';
export const sidebar: DefaultTheme.Sidebar = {
"/zh/quickstart/": [
{
text: "工程配置",
items: [
{
text: "创建工程",
link: "/zh/quickstart/01project/01create-project",
},
{
text: "配置文件",
link: "/zh/quickstart/01project/02config-file",
}
],
},
{
text: "基本语法",
items: [
{
text: "变量",
link: "/zh/quickstart/02base/01variables",
},
{
text: "注释",
link: "/zh/quickstart/02base/02comments",
},
{
text: "逻辑语句",
link: "/zh/quickstart/02base/03logic-statements",
},
{
text: "顶层语句",
link: "/zh/quickstart/02base/04top-statements",
}
],
},
{
text: "命名空间",
items: [
{
text: "命名空间",
link: "/zh/quickstart/03namespace/01namespace",
}
],
},
{
text: "函数",
items: [
{
text: "定义和调用",
link: "/zh/quickstart/04function/01define-and-call",
},
{
text: "static关键字",
link: "/zh/quickstart/04function/02static-params",
},
{
text: "内联函数",
link: "/zh/quickstart/04function/03inline-function",
}
],
},
{
text: "类",
items: [
{
text: "类的定义和实例化",
link: "/zh/quickstart/05class/01define-and-instantiate",
},
{
text: "类的成员",
link: "/zh/quickstart/05class/02member",
},
{
text: "继承和抽象",
link: "/zh/quickstart/05class/03inheritance-abstract",
}
],
},
{
text: "接口",
items: [
{
text: "定义和实现接口",
link: "/zh/quickstart/06interface/01define-and-implement",
}
],
},
{
text: "泛型",
items: [
{
text: "编译确定量",
link: "/zh/quickstart/07generic/01concrete_var",
},
{
text: "泛型函数",
link: "/zh/quickstart/07generic/02generic_function",
},
{
text: "泛型类",
link: "/zh/quickstart/07generic/03generic_class",
}
],
},
{
text: "NBT数据",
items: [
{
text: "NBT",
link: "/zh/quickstart/08nbt/01nbt",
},
{
text: "列表",
link: "/zh/quickstart/08nbt/02list",
},
{
text: "字典",
link: "/zh/quickstart/08nbt/03dict",
},
{
text: "MAP",
link: "/zh/quickstart/08nbt/04map",
}
],
},
{
text: "模板",
items: [
{
text: "数据模板",
link: "/zh/quickstart/09template/01define-and-instantiate",
},
{
text: "数据模板的嵌套",
link: "/zh/quickstart/09template/02template-nest",
}
],
},
{
text: "库",
items: [
{
text: "库的导入和使用",
link: "/zh/quickstart/10library/01import-and-use",
},
{
text: "库的导出",
link: "/zh/quickstart/10library/02export-library",
}
],
},
{
text: "MNI框架",
items: [
{
text: "MNI框架",
link: "/zh/quickstart/11mni/01mni-framework",
},
{
text: "MNI函数",
link: "/zh/quickstart/11mni/02mni-framework-implementation",
},
{
text: "JavaVar",
link: "/zh/quickstart/11mni/03javavar",
}
],
},
{
text: "Gradle构建",
items: [
{
text: "Gradle的配置",
link: "/zh/quickstart/12gradle/01gradle-configuration",
}
],
}
],
"/en/quickstart/": [
{
text: "Basic Syntax",
items: [
{
text: "Variable",
link: "/en/quickstart/02base/01variables",
},
{
text: "Comments",
link: "/en/quickstart/02base/02comments",
},
{
text: "Logic statements ",
link: "/en/quickstart/02base/03logic-statements",
},
{
text: "Top statement ",
link: "/en/quickstart/02base/04top-statements",
}
],
},
{
text: "Namespace",
items: [
{
text: "Namespace ",
link: "/en/quickstart/03namespace/01namespace",
}
],
},
{
text: "Function",
items: [
{
text: "Define and call",
link: "/en/quickstart/04function/01define-and-call",
},
{
text: "static keyword ",
link: "/en/quickstart/04function/02static-params",
},
{
text: "Inline function ",
link: "/en/quickstart/04function/03inline-function",
}
],
},
{
text: "Class",
items: [
{
text: "The instantiate and define of class",
link: "/en/quickstart/05class/01define-and-instantiate",
},
{
text: "类的成员",
link: "/en/quickstart/05class/02member",
},
{
text: "继承和抽象",
link: "/en/quickstart/05class/03inheritance-abstract",
}
],
},
{
text: "Interface",
items: [
{
text: "定义和实现接口",
link: "/en/quickstart/06interface/01define-and-implement",
}
],
},
{
text: "Generic",
items: [
{
text: "编译确定量",
link: "/en/quickstart/07generic/01concrete_var",
},
{
text: "泛型函数",
link: "/en/quickstart/07generic/02generic_function",
},
{
text: "泛型类",
link: "/en/quickstart/07generic/03generic_class",
}
],
},
{
text: "MNI Framework",
items: [
{
text: "MNI框架",
link: "/en/quickstart/11mni/01mni-framework",
},
{
text: "MNI函数",
link: "/en/quickstart/11mni/02mni-framework-implementation",
},
{
text: "JavaVar",
link: "/en/quickstart/11mni/03javavar",
}
],
}
],
};