diff options
author | Toshio Kuratomi <a.badger@gmail.com> | 2018-09-03 23:25:23 -0700 |
---|---|---|
committer | John R Barker <john@johnrbarker.com> | 2018-09-04 07:25:23 +0100 |
commit | fdb51b34da27ca6bd8373201ab0062733a70ccaa (patch) | |
tree | 127f0ade4e571525bc8486646f14fa8816d01b57 /packaging | |
parent | 3beeeffef96cd702fc3b07b89bd4900cdcfbb324 (diff) | |
download | ansible-fdb51b34da27ca6bd8373201ab0062733a70ccaa.tar.gz |
Add a table of contents to the generated changelog (#45046)
Diffstat (limited to 'packaging')
-rwxr-xr-x | packaging/release/changelogs/changelog.py | 1 |
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) |