In addition to the command line tool, reno includes a Sphinx extension for incorporating release notes for a project in its documentation automatically.
Enable the extension by adding 'reno.sphinxext' to the
extensions list in the Sphinx project conf.py file.
.. release-notes::¶The release-notes directive accepts the same inputs as the
report subcommand, and inserts the report inline into the
current document where Sphinx then processes it to create HTML,
PDF, or other output formats.
If the directive has a body, it is used to create a title entry
with = over and under lines (the typical heading style for the
top-level heading in a document).
Options:
sphinx-build is being run.reporoot where the release notes are. Defaults
to releasenotes.relnotessubdir where the release notes
are. Defaults to notes.branch.The release notes for the “current” branch, with “Release Notes” as a title.
.. release-notes:: Release Notes
The release notes for the “stable/liberty” branch, with a separate title.
=======================
Liberty Release Notes
=======================
.. release-notes::
:branch: stable/liberty
The release notes for version “1.0.0”.
.. release-notes:: 1.0.0 Release Notes
:version: 1.0.0
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.