diff options
author | Toshio Kuratomi <a.badger@gmail.com> | 2018-09-04 08:25:23 +0200 |
---|---|---|
committer | John R Barker <john@johnrbarker.com> | 2018-09-04 08:25:23 +0200 |
commit | fdb51b34da27ca6bd8373201ab0062733a70ccaa (patch) | |
tree | 127f0ade4e571525bc8486646f14fa8816d01b57 | |
parent | Docs updated and review comments addressed (#45133) (diff) | |
download | ansible-fdb51b34da27ca6bd8373201ab0062733a70ccaa.tar.xz ansible-fdb51b34da27ca6bd8373201ab0062733a70ccaa.zip |
Add a table of contents to the generated changelog (#45046)
-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) |