From c6705f4e0bcb7d52061e68c1622ed74ec1d24b05 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Wed, 28 Jun 2017 17:15:04 -0400 Subject: [PATCH] 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 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 8bd65d8d..22b91366 100644 --- a/tox.ini +++ b/tox.ini @@ -26,7 +26,7 @@ passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY [testenv:docs] commands = rm -rf doc/build - sphinx-build -E -W -b html doc/source doc/build/html + python setup.py build_sphinx [testenv:flake8] commands = flake8