mapzen / documentation

Configuration files, tools, and content to build Mapzen's documentation
https://mapzen.com/documentation
MIT License
25 stars 22 forks source link

Ability to add content to help without showing in table of contents #234

Open rmglennon opened 7 years ago

rmglennon commented 7 years ago

I don't see a way in MkDocs to set the visibility property for a topic in the table of contents. It seems like including the md file is the only way to include it with the build. Or maybe this is something we can control?

Having a visible-in-toc = false option (or something like that) would allow the help to be published all together and get a stable URL for things like links from blog posts. As it is, we are sometimes held up with announcements or documentation reviews because the documentation is not in its final location (for example, sometimes precog doesn't work nicely with new and existing content and can't find topics).

Normally, having content not be discoverable from the table of contents is a really bad user experience paradigm, but works nicely in "soft launch" situations. So, this should be used with great care.

cc @drewda

rmglennon commented 7 years ago

See also https://github.com/mkdocs/mkdocs/issues/699 for lengthy discussion on this with some workarounds