From c9282ae021dbaa4e50413205b990eccc9b6bcb61 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Mon, 20 Aug 2018 10:31:01 -0500 Subject: [PATCH] Update tox docs environment to use sphinx-build We've been moving to running sphinx-build directly instead of python setup.py build_sphin. Change-Id: Ic847b5911aa7499033e879ffe6c1cac4d9c9f80e --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 8f9eaf29..108f77cd 100644 --- a/tox.ini +++ b/tox.ini @@ -22,7 +22,8 @@ commands = flake8 commands = python setup.py sdist {posargs} [testenv:docs] -commands = python setup.py build_sphinx +commands = + sphinx-build -W -d doc/build/doctrees -b html doc/source/ doc/build/html [testenv:venv] commands = {posargs}