Skip to content

Commit

Permalink
Add a table of contents to the generated changelog (ansible#45046)
Browse files Browse the repository at this point in the history
  • Loading branch information
abadger authored and gundalow committed Sep 4, 2018
1 parent 3beeeff commit fdb51b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packaging/release/changelogs/changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,7 @@ def generate(self):

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)
Expand Down

0 comments on commit fdb51b3

Please sign in to comment.