SidebarItem
ts
type SidebarItem = object;Defined in: types.ts:175
Sidebar item
Remarks
Extracted from VitePress source code
See
Since
1.0.0
Author
Simon Kovtyk
Properties
base?
ts
optional base: string;Defined in: types.ts:203
Base path for the children items.
collapsed?
ts
optional collapsed: boolean;Defined in: types.ts:198
If not specified, group is not collapsible.
If true, group is collapsible and collapsed by default
If false, group is collapsible but expanded by default
docFooterText?
ts
optional docFooterText: string;Defined in: types.ts:208
Customize text that appears on the footer of previous/next page.
items?
ts
optional items: SidebarItem[];Defined in: types.ts:189
The children of the item.
link?
ts
optional link: string;Defined in: types.ts:184
The link of the item.
rel?
ts
optional rel: string;Defined in: types.ts:210
target?
ts
optional target: string;Defined in: types.ts:211
text?
ts
optional text: string;Defined in: types.ts:179
The text label of the item.