![mail@georg-krause.net](/assets/img/avatar_default.png)
![Ryan Harg](/assets/img/avatar_default.png)
3 changed files with 72 additions and 0 deletions
@ -0,0 +1,29 @@ |
|||||||
|
|
||||||
|
{% 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 %} |
||||||
|
|
@ -0,0 +1,43 @@ |
|||||||
|
[tool.towncrier] |
||||||
|
package = "changes" |
||||||
|
package_dir = "" |
||||||
|
filename = "CHANGELOG" |
||||||
|
directory = "changes/changelog.d/" |
||||||
|
start_string = ".. towncrier\n" |
||||||
|
template = "changes/template.rst" |
||||||
|
issue_format = "" |
||||||
|
title_format = "{version} (unreleased)" |
||||||
|
underlines = "-" |
||||||
|
|
||||||
|
[[tool.towncrier.section]] |
||||||
|
path = "" |
||||||
|
|
||||||
|
[[tool.towncrier.type]] |
||||||
|
directory = "feature" |
||||||
|
name = "Features" |
||||||
|
showcontent = true |
||||||
|
|
||||||
|
[[tool.towncrier.type]] |
||||||
|
directory = "enhancement" |
||||||
|
name = "Enhancements" |
||||||
|
showcontent = true |
||||||
|
|
||||||
|
[[tool.towncrier.type]] |
||||||
|
directory = "bugfix" |
||||||
|
name = "Bugfixes" |
||||||
|
showcontent = true |
||||||
|
|
||||||
|
[[tool.towncrier.type]] |
||||||
|
directory = "doc" |
||||||
|
name = "Documentation" |
||||||
|
showcontent = true |
||||||
|
|
||||||
|
[[tool.towncrier.type]] |
||||||
|
directory = "i18n" |
||||||
|
name = "i18n" |
||||||
|
showcontent = true |
||||||
|
|
||||||
|
[[tool.towncrier.type]] |
||||||
|
directory = "misc" |
||||||
|
name = "Other" |
||||||
|
showcontent = true |
Loading…
Reference in new issue