Skip to content

Commit

Permalink
Adapt template to towncrier 23.11.0
Browse files Browse the repository at this point in the history
It generated error:
Warning, treated as error:
/buildbot/buildbot-job/build/master/docs/relnotes/index.rst:25:Bullet list ends without a blank line; unexpected unindent.
make[1]: *** [Makefile:58: html] Error 2

See https://github.com/twisted/towncrier/releases/tag/23.10.0
Two newlines are no longer always added between the current release notes and the previous content. The newlines are now defined only inside the template.

Important! If you're using a custom template and want to keep the same whitespace between releases, you may have to modify your template. (buildbot#552)

twisted/towncrier#552
  • Loading branch information
pmisik committed Dec 22, 2023
1 parent f5885c7 commit 8ad7c4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions master/docs/relnotes.rst.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
{% for text, values in sections[section][category]|dictsort(by='value') %}
- {{ text }}
{% endfor %}

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

Expand Down

0 comments on commit 8ad7c4f

Please sign in to comment.