Skip to content

Commit 73541ed

Browse files
liaosy21liaosy
andauthored
docs: update tableOfContents start level to 2 (#45)
Co-authored-by: liaosy <liaosy@infinilabs.com>
1 parent 5c4599c commit 73541ed

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

docs/config.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ markup:
1919
renderer:
2020
unsafe: true
2121
tableOfContents:
22-
startLevel: 1
22+
startLevel: 2
2323

2424
# Multi-lingual mode config
2525
# There are different options to translate files
@@ -36,7 +36,6 @@ languages:
3636
contentDir: content.zh
3737
weight: 4
3838

39-
4039
menu:
4140
before: []
4241
after:
@@ -60,7 +59,7 @@ params:
6059

6160
# (Optional, default none) Set leaf bundle to render as side menu
6261
# When not specified file structure and weights will be used
63-
# BookMenuBundle: /menu
62+
# BookMenuBundle: /menu
6463

6564
# (Optional, default docs) Specify root page to render child pages as menu.
6665
# Page is resoled by .GetPage function: https://gohugo.io/functions/getpage/

0 commit comments

Comments
 (0)