Skip to content

Commit

Permalink
Change "Misc" to showcontent=True
Browse files Browse the repository at this point in the history
Many of these miscellaneous items would actually be interesting to
downstream consumers, even though they are not "bugfixes" (e.g. changes
to the test suite or package metadata). Rather than ask contributors to
decide whether their contribution meets this standard, we'll instead
manually curate which PRs are "hidden" in the changelog.
  • Loading branch information
pganssle committed Nov 3, 2019
1 parent 8d8b719 commit 99156e4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions changelog.d/template.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,10 @@
{{ definitions[category]['name'] }}
{{ underline * definitions[category]['name']|length }}

{% if definitions[category]['showcontent'] %}
{% for text, values in sections[section][category].items() %}
- {{ text }}
{% endfor %}

{% else %}
- {{ sections[section][category]['']|join(', ') }}

{% endif %}
{% if sections[section][category]|length == 0 %}
No significant changes.

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ build-backend = "setuptools.build_meta"
[[tool.towncrier.type]]
directory = "misc"
name = "Misc"
showcontent = false
showcontent = true

0 comments on commit 99156e4

Please sign in to comment.