Merge "cleanup *.pyc files in docs tox envs"
This commit is contained in:
commit
37346a9267
4
tox.ini
4
tox.ini
@ -195,6 +195,7 @@ description =
|
||||
Build main documentation.
|
||||
deps = -r{toxinidir}/doc/requirements.txt
|
||||
commands =
|
||||
{[testenv]commands}
|
||||
rm -rf doc/build
|
||||
# Check that all JSON files don't have \r\n in line.
|
||||
bash -c "! find doc/ -type f -name *.json | xargs grep -U -n $'\r'"
|
||||
@ -210,6 +211,7 @@ description =
|
||||
envdir = {toxworkdir}/docs
|
||||
deps = {[testenv:docs]deps}
|
||||
commands =
|
||||
{[testenv]commands}
|
||||
rm -rf api-guide/build
|
||||
sphinx-build -W -b html -d api-guide/build/doctrees api-guide/source api-guide/build/html
|
||||
|
||||
@ -219,6 +221,7 @@ description =
|
||||
envdir = {toxworkdir}/docs
|
||||
deps = {[testenv:docs]deps}
|
||||
commands =
|
||||
{[testenv]commands}
|
||||
rm -rf api-ref/build
|
||||
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
|
||||
|
||||
@ -228,6 +231,7 @@ description =
|
||||
envdir = {toxworkdir}/docs
|
||||
deps = {[testenv:docs]deps}
|
||||
commands =
|
||||
{[testenv]commands}
|
||||
rm -rf releasenotes/build
|
||||
sphinx-build -W -b html -d releasenotes/build/doctrees releasenotes/source releasenotes/build/html
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user