This is based on a similar PR for the deploy-guide: https://review.opendev.org/#/c/691241 Closes-Bug: #1808312 Change-Id: I4bff68c5103fe47407e449ad4717f4fd0f320fcf
16 lines
282 B
INI
16 lines
282 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = docs
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
basepython = python3
|
|
usedevelop = True
|
|
deps = -r{toxinidir}/requirements.txt
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:docs]
|
|
commands = sphinx-build -a -W -d doc/build/doctrees -b html doc/source doc/build/html
|