We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
sidebarDepth
1 parent 753df05 commit 5c6a16cCopy full SHA for 5c6a16c
packages/@vuepress/types/src/theme-default.ts
@@ -133,6 +133,12 @@ export type DefaultThemeConfig = {
133
| false /* @see https://vuepress.vuejs.org/theme/default-theme-config.html#disabling-the-sidebar */
134
| SidebarConfigArray
135
| SidebarConfig4Multiple;
136
+ /**
137
+ * Sidebar's depth, set to 0 to disable collapsable sidebar links.
138
+ *
139
+ * @default 1
140
+ */
141
+ sidebarDepth?: number;
142
/**
143
* Enable built-in search
144
*
0 commit comments