From 3cf31abecbdd70bdc673f02593e64245e0d9c490 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Wed, 28 Mar 2018 17:32:59 -0400 Subject: [PATCH] fix tox to allow building docs locally Recent changes in sphinx and pbr make it easier to just invoke sphinx-build directly instead of going through setup.py. Change-Id: Ic5c4f397fd45d9978c630ff03dcff7bf6b4d05e4 Signed-off-by: Doug Hellmann --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index ecd5dad2e..6a05c400d 100644 --- a/tox.ini +++ b/tox.ini @@ -25,7 +25,7 @@ commands = commands = {posargs} [testenv:docs] -commands = python setup.py build_sphinx +commands = sphinx-build -W -b html doc/source doc/build [testenv:validate] commands = python3 tools/validate_tags.py