Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

Commit

Permalink
Include release-notes in documentation
Browse files Browse the repository at this point in the history
reno was being used by openstack to generate release notes, but since
the migration we've not done anything with them. It's a great tool and
we should maintain and publish a release note that is more applicable
that tne changelog generated by PBR.
  • Loading branch information
jamielennox committed May 2, 2018
1 parent 446d8e6 commit 6576de4
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.autodoc',
extensions = ['reno.sphinxext',
'sphinx.ext.autodoc',
'sphinx.ext.doctest',
'sphinx.ext.viewcode',
'sphinx.ext.intersphinx']
Expand Down
9 changes: 9 additions & 0 deletions doc/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ Contents:
adapter
contrib

=============
Release Notes
=============

.. toctree::
:maxdepth: 2

release-notes

Indices and tables
==================

Expand Down
5 changes: 5 additions & 0 deletions doc/source/release-notes.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
=============
Release Notes
=============

.. release-notes::
1 change: 1 addition & 0 deletions rtfd-requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
pbr
reno
3 changes: 3 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ commands =

[testenv:docs]
commands = python setup.py build_sphinx
deps =
-r{toxinidir}/rtfd-requirements.txt
{[testenv]deps}

[testenv:requests-tip]
deps =
Expand Down

0 comments on commit 6576de4

Please sign in to comment.