Skip to content
Snippets Groups Projects
Commit 24e48d4d authored by Radosław Piliszek's avatar Radosław Piliszek
Browse files

[tox] Add docs-iterative command

This is useful for iterative work with docs as it avoids trashing
results from previous builds and thus saves time.

Change-Id: Ic4f710725cbc2d85c28ca4e00c3a32a00a72c2da
parent 4e473a78
No related branches found
No related tags found
No related merge requests found
...@@ -50,6 +50,13 @@ deps = ...@@ -50,6 +50,13 @@ deps =
-r{toxinidir}/doc/requirements.txt -r{toxinidir}/doc/requirements.txt
commands = commands =
rm -rf doc/build/html rm -rf doc/build/html
{[testenv:docs-iterative]commands}
[testenv:docs-iterative]
envdir = {toxworkdir}/docs
skip_install = {[testenv:docs]skip_install}
deps = {[testenv:docs]deps}
commands =
sphinx-build -n -W --keep-going -b html doc/source doc/build/html sphinx-build -n -W --keep-going -b html doc/source doc/build/html
whereto doc/source/_extra/.htaccess doc/test/redirect-tests.txt whereto doc/source/_extra/.htaccess doc/test/redirect-tests.txt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment