Closed eric-schneider closed 2 weeks ago
A list title is required Currently, the UI requires the nav to have at least one list title element, otherwise it won't render anything at all.
A list title shouldn't be required anymore as of #103
See the streaming doc sub sites as an example of this. We still render the links, they just don't have a title or parent drop down.
Example: https://docs-stage.datastax.com/en/streaming/index.html Relevant nav: https://raw.githubusercontent.com/DataStaxDocs/datastax-streaming-docs-site/main/site-main/modules/ROOT/nav.adoc
There are two major issues with the left nav.
Parent nav items can't be links
The UI currently doesn't support the following nav configuration:
The parent page doesn't present as a link. This has forced us to use an undesirable workaround of making the parent page a child of itself, for example:
A list title is required
IMPORTANT: As @mlr pointed out below, this should be fixed as of https://github.com/riptano/docs-ui/pull/103.
Currently, the UI requires the nav to have at least one list title element, otherwise it won't render anything at all.
✅ Does render
❌ Does not render
Some products don't have enough pages to warrant using list titles. However, we've had to add at least one so that nav will at least show the pages in the first place: