docs: 将侧栏改为页面内单独配置添加

This commit is contained in:
ZiuChen 2022-08-15 23:44:44 +08:00
parent a8c52cc90f
commit 7b4f21ef79
3 changed files with 3 additions and 1 deletions

View File

@ -44,7 +44,7 @@ export default defineConfig({
]
}
],
sidebar: [['/', '首页'], '/works/', '/self/'],
displayAllHeaders: true,
logo: '/logo.png',
repo: 'ZiuChen',
docsBranch: 'master',

View File

@ -1,4 +1,5 @@
---
sidebar: auto
sidebarDepth: 2
---

View File

@ -1,4 +1,5 @@
---
sidebar: auto
sidebarDepth: 2
---