Skip to content

Commit

Permalink
Merge pull request #38 from Suzukaze7/vitepress
Browse files Browse the repository at this point in the history
add multi-level outline
  • Loading branch information
Mq-b authored Apr 9, 2024
2 parents 81135c7 + 86ed881 commit 85b9a40
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .vitepress/config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,16 @@ export default defineConfig({
},
socialLinks: [{ icon: 'github', link: repo_url }],

search: {
search: {
provider: 'local',
options: {
detailedView: true,
}
},
outline: { label: '页面导航' },
outline: {
label: '页面导航',
level: [1, 6]
},
docFooter: {
prev: '上一页',
next: '下一页'
Expand Down

0 comments on commit 85b9a40

Please sign in to comment.