dokuwiki-template-bootstrap3
dokuwiki-template-bootstrap3 copied to clipboard
[Set-Up-Conflict] TOC config-settings
Description
There are two different ways to limit the depth of the TOC: maxtoclevel
(DokuW standard) and yours: tocCollapseSubSections
So far I'm understand your limiting-functionality the two parameters for the same behavior makes no sense. And sometimes makes users confused. (BTW: With maxtoclevel
the TOC-depth can set in ~~5 different steps~~ 6 different steps (incl. 0). Yours only 2.)
Expected behavior: If maxtoclevel
is set to 5 the TOC should show (by default) the entire TOC
Actual behavior: If maxtoclevel
is set to 5 the TOC shows (by default) only 2 header levels. (The user assumes this is a bug.)
Expected functionality: Two parameters should not conflictive define the same behavior.
IMHO tocCollapseSubSections
should be removed from Config-Settings and/or at least tocCollapseSubSections
should be by default 0.
👍 Thanks for programming the template!!
Similar issue: tocCollapsed = 1
This already can be configured by maxtoclevel = 0
Sorry I'm confused by this. I am using the bootstrap3 template and this issue seems to remain. I cannot get beyond the second level even if I set the maxtoclevel to 5. Any solution?
Any solution?
Try out the settings of the template, especially: tocCollapseSubSections
.
- Michael Sy.