diff options
author | Stephen Finucane <sfinucan@redhat.com> | 2018-04-03 17:29:59 +0100 |
---|---|---|
committer | Stephen Finucane <sfinucan@redhat.com> | 2018-07-10 17:15:26 +0100 |
commit | 63d741fd6646b360818c07a9679344e889031949 (patch) | |
tree | 0c73ca5a0ab47e8409b67ab8b3f75d60c2812018 /tox.ini | |
parent | d6cf027be1125f5b1564b317bf13852bc5015230 (diff) | |
download | python-openstackclient-63d741fd6646b360818c07a9679344e889031949.tar.gz |
Replace pbr autodoc with sphinxcontrib-apidoc
This fixes local building of the documentation using tox, and allows the
gate to stop relying on pbr and move completely to the new docs PTI.
http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html
Change-Id: I485acda07098a435753e91c1ca45e586de199c35
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -113,12 +113,13 @@ deps = -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} -r{toxinidir}/requirements.txt -r{toxinidir}/doc/requirements.txt -commands = python setup.py build_sphinx +commands = + sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html + sphinx-build -a -E -W -d doc/build/doctrees -b man doc/source doc/build/man [testenv:releasenotes] deps = -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} - -r{toxinidir}/requirements.txt -r{toxinidir}/doc/requirements.txt commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html |