Skip to content

Commit abfab96

Browse files
authored
set toc levels 2,3 (#926)
1 parent ece7774 commit abfab96

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/.vuepress/theme.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ export default hopeTheme(
4040
center: [],
4141
end: ['DocSearch', 'Links', 'Language', 'Outlook', 'Repo'],
4242
},
43-
43+
toc: {
44+
levels: [2, 3],
45+
},
4446
locales: {
4547
'/': {
4648
// navbar

0 commit comments

Comments
 (0)