Skip to content

Commit

Permalink
Merge pull request #448 from Xieql/site-compact-doc-menu
Browse files Browse the repository at this point in the history
site: make doc menu more compact
  • Loading branch information
kurator-bot authored Dec 26, 2023
2 parents 114dfc9 + 0541b30 commit 76e1759
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ sidebar_search_disable = false
icon = "fa fa-envelope"
desc = "Kurator 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

# Adds an H2 section titled "Feedback" to the bottom of each doc. The responses are sent to Google Analytics as events.
# This feature depends on [services.googleAnalytics] and will be disabled if "services.googleAnalytics.id" is not set.
# If you want this feature, but occasionally need to remove the "Feedback" section from a single page,
Expand Down

0 comments on commit 76e1759

Please sign in to comment.