1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-25 08:58:14 +00:00

docs: update towncrier template

This commit is contained in:
matejcik 2023-06-13 16:18:47 +02:00
parent bab8fecac5
commit fba79f07a3

View File

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