Skip to content

Commit

Permalink
site: make doc menu more compact
Browse files Browse the repository at this point in the history
Signed-off-by: Xieql <xieqianglong@huawei.com>
  • Loading branch information
Xieql committed Nov 18, 2023
1 parent 3555572 commit 9a04a52
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,10 @@ copyright = "The Kurator Authors"
url = "https://groups.google.com/g/kurator-dev"
icon = "fa fa-envelope"
desc = "Kyverno mailing list"

[params.ui]
# 'sidebar_menu_compact': Set to 'true' to display the sidebar menu in a compact form. By default, the menu shows the current section fully expanded. This parameter allows control over the sidebar menu's display style.
sidebar_menu_compact = true
# 'ul_show': Specifies the level of automatic expansion for the sidebar menu. A value of '1' means all items in the first level of the menu will be automatically expanded. Adjust this value to control the expansion depth of the menu.
ul_show = 1

0 comments on commit 9a04a52

Please sign in to comment.