forked from docs/docsportal
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: gtema <artem.goncharov@gmail.com> Co-committed-by: gtema <artem.goncharov@gmail.com>
27 lines
586 B
INI
27 lines
586 B
INI
[tox]
|
|
minversion = 3.6.0
|
|
envlist = docs
|
|
ignore_basepython_conflict = true
|
|
|
|
[testenv]
|
|
basepython = python3
|
|
usedevelop = true
|
|
deps =
|
|
# -c{env:TOX_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/upper-constraints.txt}
|
|
-r{toxinidir}/doc/requirements.txt
|
|
sitepackages = False
|
|
allowlist_externals =
|
|
rm
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:docs]
|
|
deps =
|
|
-r{toxinidir}/doc/requirements.txt
|
|
pre-commit
|
|
commands =
|
|
# pre-commit run -a
|
|
rm -rf doc/build/hml doc/build/doctrees
|
|
sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html
|