Add reno releasenotes support

Do it a little bit differently than OpenStack and just put the
releasenotes into the documentation.

Add an initial release note with no contents so that the build flow and docs
integration can be verified. The note file can be removed later.

Change-Id: Iad16b575e2abbea997b64e3c0e5aa1497b4ff0d2
This commit is contained in:
Monty Taylor 2018-01-23 09:30:43 -06:00
parent 94c42e9377
commit e457f0c6da
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
5 changed files with 13 additions and 1 deletions

View File

@ -26,7 +26,8 @@ sys.path.insert(0, os.path.abspath('../..'))
# Add any Sphinx extension module names here, as strings. They can be extensions # Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones. # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = [ 'sphinxcontrib.programoutput', extensions = [ 'sphinxcontrib.programoutput',
'sphinxcontrib.httpdomain'] 'sphinxcontrib.httpdomain',
'reno.sphinxext']
#extensions = ['sphinx.ext.intersphinx'] #extensions = ['sphinx.ext.intersphinx']
#intersphinx_mapping = {'python': ('http://docs.python.org/2.7', None)} #intersphinx_mapping = {'python': ('http://docs.python.org/2.7', None)}

View File

@ -15,6 +15,7 @@ Contents:
configuration configuration
operation operation
devguide devguide
releasenotes
Indices and tables Indices and tables
================== ==================

View File

@ -0,0 +1,5 @@
===============
Release Notes
===============
.. release-notes::

View File

@ -0,0 +1,4 @@
---
prelude: >
Initial release note. This note should be removed as soon as we have a
real one.

View File

@ -4,6 +4,7 @@ coverage
sphinx>=1.5.1,<1.6 sphinx>=1.5.1,<1.6
sphinxcontrib-programoutput sphinxcontrib-programoutput
sphinxcontrib-httpdomain sphinxcontrib-httpdomain
reno>=2.5.0 # Apache-2.0
fixtures>=0.3.12 fixtures>=0.3.12
mock>=1.0 mock>=1.0
python-subunit python-subunit