ansible-doctor/ansibledoctor/templates/readme/_toc.j2

15 lines
285 B
Django/Jinja

## Table of content
{% set var = role.var | default({}) %}
{% if var %}
- [Default Variables](#default-variables)
{% for key, item in var | dictsort %}
- [{{ key }}](#{{ key }})
{% endfor %}
{% endif %}
- [Dependencies](#dependencies)
- [License](#license)
- [Author](#author)
---