Show "trivial" category in CHANGELOG
I think it might sense to display in the CHANGELOG internal or trivial changes because they might trip users between releases. For example, a note about an internal refactoring (like moving a class between modules) is useful for a user that has been using the internal API. Of course we are not breaking anything because it was an internal API, but no reason not to save time for users who did use it.
This commit is contained in:
parent
22b7701431
commit
6de19ab7ba
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if sections[section] %}
|
{% if sections[section] %}
|
||||||
{% for category, val in definitions.items() if category in sections[section] and category != 'trivial' %}
|
{% for category, val in definitions.items() if category in sections[section] %}
|
||||||
|
|
||||||
{{ definitions[category]['name'] }}
|
{{ definitions[category]['name'] }}
|
||||||
{{ underline * definitions[category]['name']|length }}
|
{{ underline * definitions[category]['name']|length }}
|
||||||
|
|
|
@ -31,5 +31,5 @@ template = "changelog/_template.rst"
|
||||||
|
|
||||||
[[tool.towncrier.type]]
|
[[tool.towncrier.type]]
|
||||||
directory = "trivial"
|
directory = "trivial"
|
||||||
name = "Trivial Changes"
|
name = "Trivial/Internal Changes"
|
||||||
showcontent = false
|
showcontent = true
|
||||||
|
|
Loading…
Reference in New Issue