Enable foldable sidebar menu (#31818)

* (feat: sidebar) enable sidebar menu foldable

* (feat: sidebar) add comment for params

* fix comment format

Co-authored-by: championshuttler <shivams2799@gmail.com>

Co-authored-by: championshuttler <shivams2799@gmail.com>
pull/32857/head
FOWind 2022-04-11 06:08:05 +08:00 committed by GitHub
parent 065ed76148
commit b7dd826b44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -217,6 +217,8 @@ url = "https://v1-20.docs.kubernetes.io"
[params.ui]
# Enable to show the side bar menu in its compact state.
sidebar_menu_compact = false
# Show expand/collapse icon for sidebar sections.
sidebar_menu_foldable = true
# https://github.com/gohugoio/hugo/issues/8918#issuecomment-903314696
sidebar_cache_limit = 1
# Set to true to disable breadcrumb navigation.