use setuptools to build the docs even for testing
We need to use the setuptools/pbr integration to kick off the doc build to ensure that pbr is triggered to generate the API documentation. Change-Id: I6d947a08f170c3379f8e7b9879077e60356b5505 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
4e7b853e30
commit
c6705f4e0b
2
tox.ini
2
tox.ini
@ -26,7 +26,7 @@ passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
|||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
commands = rm -rf doc/build
|
commands = rm -rf doc/build
|
||||||
sphinx-build -E -W -b html doc/source doc/build/html
|
python setup.py build_sphinx
|
||||||
|
|
||||||
[testenv:flake8]
|
[testenv:flake8]
|
||||||
commands = flake8
|
commands = flake8
|
||||||
|
Loading…
Reference in New Issue
Block a user