mirror of https://github.com/vuejs/vitepress
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.1 KiB
56 lines
1.1 KiB
import { defineConfig } from 'vitepress'
|
|
|
|
export default defineConfig({
|
|
title: 'Configured Example',
|
|
description: 'Example of configured options of VitePress',
|
|
themeConfig: {
|
|
sidebar: {
|
|
'/': [
|
|
{
|
|
text: 'Frontmatter',
|
|
collapsible: true,
|
|
items: [
|
|
{
|
|
text: 'Multiple levels outline',
|
|
link: '/frontmatter/multiple-levels-outline'
|
|
}
|
|
]
|
|
},
|
|
{
|
|
text: 'Static Data',
|
|
items: [
|
|
{
|
|
text: 'Test Page',
|
|
link: '/static-data/data'
|
|
}
|
|
]
|
|
},
|
|
{
|
|
text: 'Multi Sidebar Test',
|
|
items: [
|
|
{
|
|
text: 'Test Page',
|
|
link: '/multi-sidebar/'
|
|
}
|
|
]
|
|
}
|
|
],
|
|
'/multi-sidebar/': [
|
|
{
|
|
text: 'Multi Sidebar',
|
|
items: [
|
|
{
|
|
text: 'Test Page',
|
|
link: '/multi-sidebar/'
|
|
},
|
|
{
|
|
text: 'Back',
|
|
link: '/'
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
})
|