Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions packages/@vuepress/types/src/theme-default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,14 @@ export type SidebarItem4Group = {
* Sidebar's depth.
*/
sidebarDepth?: number;
/**
* By default the first subgroup is opened initially.
* You can change this using the `initialOpenGroupIndex`:
* Specify an index to open another subgroup or use `-1` for no open group.
*
* @default 0
*/
initialOpenGroupIndex?: number;
/**
* Sidebar children.
*/
Expand Down