Now use towncrier for changelog management

This commit is contained in:
Eliot Berriot 2018-02-27 19:04:50 +01:00
commit 726bbf3032
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
7 changed files with 64 additions and 5 deletions

27
changes/template.rst Normal file
View file

@ -0,0 +1,27 @@
{% for section, _ in sections.items() %}
{% if sections[section] %}
{% for category, val in definitions.items() if category in sections[section]%}
{{ definitions[category]['name'] }}:
{% if definitions[category]['showcontent'] %}
{% for text in sections[section][category].keys()|sort() %}
- {{ text }}
{% endfor %}
{% else %}
- {{ sections[section][category]['']|join(', ') }}
{% endif %}
{% if sections[section][category]|length == 0 %}
No significant changes.
{% else %}
{% endif %}
{% endfor %}
{% else %}
No significant changes.
{% endif %}
{% endfor %}