6938ec9fad
The tox used the old reference to the allowlist_externals, this patch updates that. Change-Id: Ic9d53dfda85aa32f38a1a2679d0ea811796480a8
36 lines
732 B
INI
36 lines
732 B
INI
[tox]
|
|
minversion = 3.1.1
|
|
envlist = docs
|
|
skipsdist = True
|
|
ignore_basepython_conflict = True
|
|
|
|
[testenv]
|
|
basepython = python3
|
|
usedevelop = True
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
deps = -r{toxinidir}/requirements.txt
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:docs]
|
|
commands = sphinx-build -W -b html doc/source doc/build/html
|
|
|
|
[testenv:pdf-docs]
|
|
allowlist_externals =
|
|
make
|
|
commands =
|
|
sphinx-build -W -b latex doc/source doc/build/pdf
|
|
make -C doc/build/pdf
|
|
|
|
[testenv:spelling]
|
|
deps =
|
|
-r{toxinidir}/requirements.txt
|
|
sphinxcontrib-spelling
|
|
PyEnchant
|
|
commands = sphinx-build -b spelling doc/source doc/build/spelling
|
|
|
|
[testenv:rstcheck]
|
|
commands = ./tools/rstcheck.py -d specs
|
|
# ./tools/rstcheck.py -d backlog
|