This commit is contained in:
沈唁 2021-06-09 09:40:59 +08:00 committed by GitHub
parent 2e53fe440e
commit 0115d0d6f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ docs/zh-cn/guide.md => http://domain.com/zh-cn/guide
为了获得侧边栏您需要创建自己的_sidebar.md你也可以自定义加载的文件名。默认情况下侧边栏会通过 Markdown 文件自动生成,效果如当前的文档的侧边栏。
首先配置 `loadSidebar` 选项,具体配置规则见[配置项#loadSidebar](zh-cn/configuration.md#loadsidebar)。
首先配置 `loadSidebar` 选项,具体配置规则见[配置项#loadSidebar](zh-cn/configuration#loadsidebar)。
```html
<!-- index.html -->
@ -85,7 +85,7 @@ docs/zh-cn/guide.md => http://domain.com/zh-cn/guide
## 显示目录
自定义侧边栏同时也可以开启目录功能。设置 `subMaxLevel` 配置项,具体介绍见 [配置项#sub-max-level](zh-cn/configuration#sub-max-level)。
自定义侧边栏同时也可以开启目录功能。设置 `subMaxLevel` 配置项,具体介绍见 [配置项#subMaxLevel](zh-cn/configuration#submaxlevel)。
```html
<!-- index.html -->