ts
// docs/src/.vuepress/sidebar/zh.ts 侧边栏配置
export const zhSidebar = sidebar({
"/zh/": [
"",
{
// 栏目标题
text: "obsidian指南",
// 栏目图标,估计是emoji
icon: "note",
// 前缀?没太弄明白,反正要加不然出问题,和link先一致再说
prefix: "documentation/",
// 链接
link: "documentation/",
//是否允许目录页折叠
collapsible: true,
// 开启从目录下自动生成索引
children: "structure",
},
{
text: "markdown语法",
icon: "note",
prefix: "markdown/",
link: "markdown/",
collapsible: true,
children: "structure",
},
{
text: "核心插件",
icon: "config",
prefix: "core-plugins/",
link: "core-plugins/",
collapsible: true,
children: "structure",
},
{
text: "社区插件",
icon: "creative",
prefix: "community-plugins/",
link: "community-plugins/",
collapsible: true,
children: "structure",
},
{
text: "obsidian工作流",
icon: "note",
prefix: "workflow/",
link: "workflow/",
collapsible: true,
children: "structure",
},
{
text: "进阶用法",
icon: "note",
prefix: "advanced/",
link: "advanced/",
collapsible: true,
children: "structure",
},
],
});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
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
