From 01d03bb71edd5661b233feddb9afd52be76e5949 Mon Sep 17 00:00:00 2001 From: gujin Date: Fri, 1 Nov 2019 11:39:07 +0800 Subject: [PATCH] Update "python setup.py build_sphinx" to build_sphinx 1. Update "python setup.py build_sphinx" to build_sphinx 2. Keeping going with docs Change-Id: I729ae1a6c106cbc126d6d5849ed2f86673a29b4e --- tox.ini | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index 92dd850..32bd978 100644 --- a/tox.ini +++ b/tox.ini @@ -26,12 +26,13 @@ commands = python setup.py test --coverage --testr-args='{posargs}' [testenv:docs] commands = - doc8 --ignore D000 -e .rst doc/source/ CONTRIBUTING.rst HACKING.rst README.rst - sphinx-build -W -b html doc/source doc/build/html + rm -rf doc/build + sphinx-build -W --keep-going -b html doc/source doc/build/html + doc8 --ignore D000 -e .rst doc/source/ CONTRIBUTING.rst HACKING.rst README.rst [testenv:releasenotes] commands = - sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html + sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html [testenv:debug] commands = oslo_debug_helper {posargs}