Skip to content

Commit 76d12e7

Browse files
committed
docs: refactor for displayAllHeaders
1 parent d316806 commit 76d12e7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/default-theme-config/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ sidebarDepth: 2
146146

147147
### Displaying Header Links of All Pages <Badge text="0.11.0+"/>
148148

149-
The sidebar only displays links for headers in the current active page. You can display all header links for every page with `themeConfig.displayAllHeaders: false`:
149+
The sidebar only displays links for headers in the current active page. You can display all header links for every page with `themeConfig.displayAllHeaders: true`:
150150

151151
``` js
152152
module.exports = {

docs/zh/default-theme-config/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ sidebarDepth: 2
142142

143143
### 显示所有页面的标题链接 <Badge text="0.11.0+"/>
144144

145-
默认情况下,侧边栏只会显示由当前活动页面的标题(headers)组成的链接,你可以设置 `themeConfig.displayAllHeaders` 来显示所有页面的标题链接:
145+
默认情况下,侧边栏只会显示由当前活动页面的标题(headers)组成的链接,你可以将 `themeConfig.displayAllHeaders` 设置为 `true` 来显示所有页面的标题链接:
146146

147147
``` js
148148
module.exports = {

0 commit comments

Comments
 (0)