1
0
forked from docs/docsportal
2023-01-18 17:04:29 +00:00

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