This PR introduces an additional flag force_collapse to allow a section to collapse even if it has multiple children, which is a simple workaround for the issue in #53.
Considering the example in the issue above, the original file structure is as follows:
This PR introduces an additional flag
force_collapse
to allow a section to collapse even if it has multiple children, which is a simple workaround for the issue in #53.Considering the example in the issue above, the original file structure is as follows:
The generated structure would be:
To move everything within
Docs
up one level, put a.pages
file inside thedocs
folder with the following contents:The new structure would be:
which is the desired outcome described in #53.