ts
//docs/src/.vuepress/navbar/zh.ts 导航条配置
import { navbar } from "vuepress-theme-hope";
export const zhNavbar = navbar([
"/zh/",
{ text: "obsidian指南", icon: "discover", link: "/zh/documentation/" },
{
text: "markdown语法",
icon: "creative",
prefix: "/zh/markdown/",
link: "/zh/markdown/",
},
{
text: "插件",
icon: "creative",
// 前缀
prefix: "/zh/",
// 子菜单,在前缀的基础上加上,子文件夹的地址
children: [
{
text: "核心插件",
icon: "creative",
prefix: "core-plugins/",
link: "core-plugins/",
},
{
text: "社区插件",
icon: "config",
prefix: "community-plugins/",
link: "community-plugins/",
},
],
},
{
text: "进阶用法",
icon: "creative",
prefix: "/zh/advanced/",
link: "/zh/advanced/",
},
{
text: "咖啡豆的博客",
icon: "note",
link: "#",
},
]);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
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
