From 12b6ccc8040268c72104243e1b620cfd1a91912a Mon Sep 17 00:00:00 2001 From: Eric Harney Date: Mon, 15 Jan 2018 17:54:07 -0500 Subject: [PATCH] Run doc8 first For "tox -e docs", run doc8 first. doc8 runs much faster than sphinx builds and will provide quick feedback on syntax issues. Change-Id: Id4f77020a70acd8eb9df513d43f86d9fe78f7e22 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index b09375e063a..6a4c899b5a2 100644 --- a/tox.ini +++ b/tox.ini @@ -114,11 +114,11 @@ deps = -r{toxinidir}/requirements.txt -r{toxinidir}/doc/requirements.txt commands = + doc8 --ignore D001 --ignore-path .tox --ignore-path *.egg-info --ignore-path doc/src/api --ignore-path doc/source/drivers.rst --ignore-path doc/build --ignore-path .eggs/*/EGG-INFO/*.txt -e txt -e rst rm -fr doc/build doc/source/contributor/api/ .autogenerated sphinx-build -b html doc/source doc/build/html rm -rf api-ref/build sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html/ - doc8 --ignore D001 --ignore-path .tox --ignore-path *.egg-info --ignore-path doc/src/api --ignore-path doc/source/drivers.rst --ignore-path doc/build --ignore-path .eggs/*/EGG-INFO/*.txt -e txt -e rst whitelist_externals = rm [testenv:gendriverlist]