Skip to content

Commit f54bf1c

Browse files
author
张瑞龙
committed
add 多级导航栏
1 parent 4f3c681 commit f54bf1c

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

docs/.vuepress/config.js

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,35 @@ export default defineUserConfig({
77
theme: defaultTheme({
88
// 网站logo
99
logo: '/img/logo.png',
10+
// 不展示Git信息
11+
showContributors: false,
1012

1113
// 导航栏
1214
navbar: [
1315
{text: '编码', link: '/encode'},
1416
{text: '指南', link: '/guide'},
1517
{text: 'BLOG', link: '/blog'},
16-
{text: '关于', link: '/about'},
18+
{
19+
text: '关于',
20+
children: [
21+
{text: 'GitHub', link: 'https://github.com/coder-zrl' },
22+
{
23+
text: '考研笔记',
24+
children: [
25+
{text: '计算机组成原理', link: 'https://aye10032.gitbook.io/computerorganizationnote'},
26+
{text: '操作系统', link: 'https://aye10032.gitbook.io/os' }
27+
]
28+
},
29+
{
30+
text: '绘图工具',
31+
children: [
32+
{text: 'PUML入门指南', link: 'https://pdf.plantuml.net/'},
33+
{text: '在线绘制PUML', link: 'https://www.plantuml.com/plantuml/uml'},
34+
{text: '像素风流程图白板', link: 'https://handraw.top/'},
35+
]
36+
},
37+
]
38+
},
1739
],
1840

1941
// 侧边栏

0 commit comments

Comments
 (0)