Skip to content

Commit

Permalink
fix(types): missing sidebarDepth at default theme config
Browse files Browse the repository at this point in the history
  • Loading branch information
ulivz committed Jan 17, 2022
1 parent 753df05 commit 5c6a16c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/@vuepress/types/src/theme-default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,12 @@ export type DefaultThemeConfig = {
| false /* @see https://vuepress.vuejs.org/theme/default-theme-config.html#disabling-the-sidebar */
| SidebarConfigArray
| SidebarConfig4Multiple;
/**
* Sidebar's depth, set to 0 to disable collapsable sidebar links.
*
* @default 1
*/
sidebarDepth?: number;
/**
* Enable built-in search
*
Expand Down

0 comments on commit 5c6a16c

Please sign in to comment.