forked from halo-dev/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsidebars.js
97 lines (93 loc) · 2.59 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
/**
* 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.
*/
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
module.exports = {
// By default, Docusaurus generates a sidebar from the docs folder structure
// tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
tutorialSidebar: [
"intro",
{
type: "category",
label: "入门",
collapsed: false,
items: [
"getting-started/prepare",
{
type: "category",
label: "安装指南",
items: [
"getting-started/install/linux",
"getting-started/install/docker",
{
type: "category",
label: "其他指南",
items: [
"getting-started/install/other/bt-panel",
"getting-started/install/other/tencent-cloudbase",
"getting-started/install/other/docker-mysql",
"getting-started/install/other/docker-compose",
],
},
"getting-started/install/third-party",
],
},
"getting-started/config",
"getting-started/upgrade",
"getting-started/downloads",
],
},
{
type: "category",
label: "用户指南",
items: [
"user-guide/backup-migration",
"user-guide/markdown",
"user-guide/faq",
],
},
{
type: "category",
label: "开发者指南",
items: [
{
type: "category",
label: "系统开发",
items: [
"developer-guide/core/structure",
"developer-guide/core/prepare",
"developer-guide/core/code-style",
],
},
{
type: "category",
label: "主题开发",
items: [
"developer-guide/theme/prepare",
"developer-guide/theme/config-files",
"developer-guide/theme/global-variable",
"developer-guide/theme/public-template-tag",
"developer-guide/theme/page-variable",
"developer-guide/theme/template-tag",
],
},
{
type: "link",
label: "REST API",
href: "https://api.halo.run",
},
],
},
{
type: "category",
label: "参与贡献",
items: ["contribution/issue", "contribution/pr"],
},
"about",
],
};