feat: collapse every section (#162)
This allows setting `.Site.Params.GeekdocCollapseAllSections` which then behaves as if you would have set `.Page.Params.geekdocCollapseSection` in all sections. It is a hard positive switch, so you can not override it per section once enabled. Co-authored-by: Robert Kaussow <xoxys@rknet.org> Co-authored-by: Robert Kaussow <xoxys@rknet.org>
This commit is contained in:
parent
4af402a3d3
commit
56a0d44a50
3 changed files with 10 additions and 6 deletions
|
@ -134,6 +134,10 @@ params:
|
|||
# See also https://geekdocs.de/usage/menus/#bundle-menu
|
||||
geekdocMenuBundle: true
|
||||
|
||||
# (Optional, default false) Collapse all menu entries, can not be overwritten
|
||||
# per page if enabled. Can be enabled per page via `geekdocCollapseSection`
|
||||
geekdocCollapseAllSections: true
|
||||
|
||||
# (Optional, default true) Show page navigation links at the bottom of each
|
||||
# docs page (bundle menu only).
|
||||
geekdocNextPrev: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue