Daft MkDocs Plugins#
Custom MkDocs plugins for the Daft documentation site.
nav-hide-children#
A plugin that allows you to conditionally hide navigation children based on configured paths.
Configuration#
Add to your mkdocs.yml:
1 2 3 4 5 | |
Usage#
The plugin automatically injects an attribute hide_children into navigation objects based on the config paths, which can be used in Jinja2 templates to conditionally hide navigation elements.