docs: update towncrier template

pull/3079/head
matejcik 11 months ago
parent bab8fecac5
commit fba79f07a3

@ -1,15 +1,13 @@
## [{{ versiondata.version }}] ({{versiondata.date}})
{% for section, _ in sections.items() %}
{% if section %}{{section}}{% endif -%}
{% if sections[section] %}
{% for category, val in definitions.items() if category in sections[section] %}
### {{ definitions[category]['name'] }}
{% if definitions[category]['showcontent'] %}
{% for text, values in sections[section][category].items() %}
- {{ text }} {{ values|reject("eq", "[#noissue]")|join(', ') }}
- {{ text }}{% if values %} {{ values|join(', ') }}{% endif +%}
{% endfor %}
{% endif %}
{% endfor %}
{% endif %}

Loading…
Cancel
Save