ansible-doctor/ansibledoctor/templates/readme
2023-02-09 19:27:22 +01:00
..
_meta.j2 fix: join lines with newline instead of space in markdown templates (#446) 2023-02-09 19:27:22 +01:00
_tag.j2 fix: join lines with newline instead of space in markdown templates (#446) 2023-02-09 19:27:22 +01:00
_toc.j2 feat: auto-discover tags and add annotation identifier (#250) 2022-02-26 13:35:34 +01:00
_todo.j2 fix: join lines with newline instead of space in markdown templates (#446) 2023-02-09 19:27:22 +01:00
_vars.j2 fix: join lines with newline instead of space in markdown templates (#446) 2023-02-09 19:27:22 +01:00
README.md.j2 fix: join lines with newline instead of space in markdown templates (#446) 2023-02-09 19:27:22 +01:00

{% if not append | deep_get(role, "internal.append") %}
{% set meta = role.meta | default({}) %}
# {{ meta.name.value | safe_join(" ") }}
{% endif %}
{% if description | deep_get(meta, "description.value") %}

{{ meta.description.value | map("replace", "\n\n", "\n") | safe_join("\n") }}
{% endif %}

{#      TOC      #}
{% include '_toc.j2' %}

{#      Vars      #}
{% include '_vars.j2' %}

{#      Todo      #}
{% include '_tag.j2' %}

{#      Todo      #}
{% include '_todo.j2' %}

{#      Meta      #}
{% include '_meta.j2' %}