Closed vsimko closed 6 years ago
That's currently not implemented. I really like the idea though and will start working on this feature soon 👍
I already implemented a quick and dirty transformation of the "pages" YAML using javascript: Maybe it helps: https://gist.github.com/vsimko/9ecd8b51e40ac63a502824db100d2e78
Collapsing of single nested pages is done and released 🙂
I realized that having the feature enabled by default might lead to unwanted results for a majority of users so I've disabled it by default in the latest release. Simply enable it using the collapse_single_pages
option in your mkdocs.yml
.
This is awesome! I'm now using the plugin in our project docs (github here)
This is related to issue https://github.com/mkdocs/mkdocs/issues/1347
I would like to keep each page in a separate directory that contains a single
index.md
together with all images used on that page. Here is an exampleI would like to see this:
Instead, I see the following (unnecessary nesting of page2):
Is there an option to automatically "collapse" sections that have just a single nested page ?