Skip to content

Commit 5c6a16c

Browse files
committedJan 17, 2022
fix(types): missing sidebarDepth at default theme config
1 parent 753df05 commit 5c6a16c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎packages/@vuepress/types/src/theme-default.ts

+6
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,12 @@ export type DefaultThemeConfig = {
133133
| false /* @see https://vuepress.vuejs.org/theme/default-theme-config.html#disabling-the-sidebar */
134134
| SidebarConfigArray
135135
| SidebarConfig4Multiple;
136+
/**
137+
* Sidebar's depth, set to 0 to disable collapsable sidebar links.
138+
*
139+
* @default 1
140+
*/
141+
sidebarDepth?: number;
136142
/**
137143
* Enable built-in search
138144
*

0 commit comments

Comments
 (0)
Please sign in to comment.