ansible-doctor/ansibledoctor/templates/readme
2024-10-08 10:08:06 +02:00
..
_meta.j2 fix: fix formatting of meta.license.value in readme template (#479) 2023-04-05 14:08:36 +02:00
_requirements.j2 remove unnecessary newlines in templates (#537) 2023-08-09 09:46:15 +02: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: migrate to dynaconf to handle multi-source configuration (#708) 2024-06-07 21:51:10 +02:00
_todo.j2 fix: join lines with newline instead of space in markdown templates (#446) 2023-02-09 19:27:22 +01:00
_vars_tabulated.j2 fix: unify value format of tabulated vars (#792) 2024-10-08 10:08:06 +02:00
_vars.j2 remove unnecessary newlines in templates (#537) 2023-08-09 09:46:15 +02:00
README.md.j2 feat: migrate to dynaconf to handle multi-source configuration (#708) 2024-06-07 21:51:10 +02: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") %}
{% set description = [meta.description.value] if meta.description.value is string else meta.description.value %}

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

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

{#      Requirements      #}
{% include '_requirements.j2' %}

{#      Vars      #}
{% if options.tabulate_vars %}
{% include '_vars_tabulated.j2' %}
{% else %}
{% include '_vars.j2' %}
{% endif %}

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

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

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