diff options
author | Benjamin Peterson <benjamin@python.org> | 2018-07-14 19:56:33 -0700 |
---|---|---|
committer | Paul Ganssle <pganssle@users.noreply.github.com> | 2018-07-14 22:56:33 -0400 |
commit | b48d4900233169c1143adfdd64aa00230ae13f26 (patch) | |
tree | 31069231306c230dceff7029e39a46cc07ab1a56 | |
parent | f90944775adb861d8de98026be4864e488be9c15 (diff) | |
download | external_python_setuptools-b48d4900233169c1143adfdd64aa00230ae13f26.tar.gz external_python_setuptools-b48d4900233169c1143adfdd64aa00230ae13f26.tar.bz2 external_python_setuptools-b48d4900233169c1143adfdd64aa00230ae13f26.zip |
Add a space after header, so reST rendering isn't mangled. (#1429)
* Add a space after header, so reST rendering isn't mangled.
* Add newline in template, too.
-rw-r--r-- | CHANGES.rst | 1 | ||||
-rw-r--r-- | towncrier_template.rst | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/CHANGES.rst b/CHANGES.rst index 2f96af99..05de4cfc 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,5 +1,6 @@ v40.0.0 ------- + * #1342: Drop support for Python 3.3. * #1366: In package_index, fixed handling of encoded entities in URLs. * #1383: In pkg_resources VendorImporter, avoid removing packages imported from the root. diff --git a/towncrier_template.rst b/towncrier_template.rst index 9c23b977..fbc5ef03 100644 --- a/towncrier_template.rst +++ b/towncrier_template.rst @@ -2,6 +2,7 @@ {% set underline = underlines[0] %}{% if section %}{{section}} {{ underline * section|length }} {% endif %} + {% if sections[section] %} {% for category, val in definitions.items() if category in sections[section]%} {% if definitions[category]['showcontent'] %} |