Add a table of contents to the generated changelog (#45046)
This commit is contained in:
parent
3beeeffef9
commit
fdb51b34da
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue