summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorToshio Kuratomi <a.badger@gmail.com>2018-09-03 23:25:23 -0700
committerJohn R Barker <john@johnrbarker.com>2018-09-04 07:25:23 +0100
commitfdb51b34da27ca6bd8373201ab0062733a70ccaa (patch)
tree127f0ade4e571525bc8486646f14fa8816d01b57 /packaging
parent3beeeffef96cd702fc3b07b89bd4900cdcfbb324 (diff)
downloadansible-fdb51b34da27ca6bd8373201ab0062733a70ccaa.tar.gz
Add a table of contents to the generated changelog (#45046)
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/release/changelogs/changelog.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/packaging/release/changelogs/changelog.py b/packaging/release/changelogs/changelog.py
index 4f44a30f97..c11ceab222 100755
--- a/packaging/release/changelogs/changelog.py
+++ b/packaging/release/changelogs/changelog.py
@@ -443,6 +443,7 @@ class ChangelogGenerator(object):
builder = RstBuilder()
builder.set_title('Ansible %s "%s" Release Notes' % (major_minor_version, codename))
+ builder.add_raw_rst('.. contents:: Topics\n\n')
for version, release in release_entries.items():
builder.add_section('v%s' % version)