Skip to content

Commit

Permalink
docs: refactor for displayAllHeaders
Browse files Browse the repository at this point in the history
  • Loading branch information
ulivz committed Jul 3, 2018
1 parent d316806 commit 76d12e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/default-theme-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ sidebarDepth: 2

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

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`:
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`:

``` js
module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/default-theme-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ sidebarDepth: 2

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

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

``` js
module.exports = {
Expand Down

0 comments on commit 76d12e7

Please sign in to comment.