Open julienrf opened 7 years ago
I'm not sure what you mean. There's currently no way to define a hierarchical page structure. If you want the TOC of the current page (usually shown on the right) to be merged into the main page navigation on the left you can use a TOC element like ![](toctree:maxLevel=0,focusMaxLevel=6)
which shows everything down to level 6 for the current page but only level 0 (i.e. the actual page) for all other pages.
I was referring to the TOC on the left. I would like to have pages bar
and baz
to be hidden when quux
is displayed.
Since Ornate does not yet support nested pages, this TOC tree is not possible in the first place. If bar
and baz
are headings instead of pages you can do it with focusMaxLevel
.
Is it possible to define sub-entries in the TOC? I would like them to be collapsed by default, e.g.:
But, when one entry is selected, then its sub-entries would be expanded: