tox: docs: --keep-going and posargs

`--keep-going` makes sense with `-W` to see all warnings/errors.

`{posargs:}` is useful for passing in custom args.
This commit is contained in:
Daniel Hahler 2019-11-24 22:21:08 +01:00
parent ed67312bca
commit 57f3dc19b9
1 changed files with 1 additions and 2 deletions

View File

@ -60,9 +60,8 @@ basepython = python3
usedevelop = True usedevelop = True
changedir = doc/en changedir = doc/en
deps = -r{toxinidir}/doc/en/requirements.txt deps = -r{toxinidir}/doc/en/requirements.txt
commands = commands =
sphinx-build -W -b html . _build sphinx-build -W --keep-going -b html . _build {posargs:}
[testenv:docs-checklinks] [testenv:docs-checklinks]
basepython = python3 basepython = python3