Skip to content
Closed
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
3 changes: 2 additions & 1 deletion docs/reference/default-theme/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ export default {
If you want to set different sidebar for different sub paths, you can set this option to a _sidebar object_:

- The key should be the path prefix.
- The value should be a _sidebar array_.
- The value should be a _sidebar array_ or set to `'heading'` to automatically generate the sidebar from the page headers for just the corresponding path.

- Example 1:

Expand Down Expand Up @@ -395,6 +395,7 @@ export default {
theme: defaultTheme({
// collapsible sidebar
sidebar: {
'/guide/': 'heading',
'/reference/': [
{
text: 'VuePress Reference',
Expand Down