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
This commit is contained in:
parent
71b869cf1d
commit
12b6ccc804
2
tox.ini
2
tox.ini
@ -114,11 +114,11 @@ deps =
|
|||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/doc/requirements.txt
|
-r{toxinidir}/doc/requirements.txt
|
||||||
commands =
|
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
|
rm -fr doc/build doc/source/contributor/api/ .autogenerated
|
||||||
sphinx-build -b html doc/source doc/build/html
|
sphinx-build -b html doc/source doc/build/html
|
||||||
rm -rf api-ref/build
|
rm -rf api-ref/build
|
||||||
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html/
|
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
|
whitelist_externals = rm
|
||||||
|
|
||||||
[testenv:gendriverlist]
|
[testenv:gendriverlist]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user