ansible-doctor/ansibledoctor/templates/hugo-book/_toc.j2
2024-10-22 09:57:03 +02:00

20 lines
427 B
Django/Jinja

- [Requirements](#requirements)
{% set var = role.defaults | default({}) %}
{% if var %}
- [Default Variables](#default-variables)
{% if not options.tabulate_defaults %}
{% for key, item in var | dictsort %}
- [{{ key }}](#{{ key }})
{% endfor %}
{% endif %}
{% endif %}
{% if tag %}
- [Discovered Tags](#discovered-tags)
{% endif %}
{% if todo %}
- [Open Tasks](#open-tasks)
{% endif %}
- [Dependencies](#dependencies)
---