fa0876750a
There was a change[0] in zuul that made the docs job fail if the build/html dir was empty. Our docs job was putting the built docs in the source file by mistake, this ps fixes this issue. [0] https://review.opendev.org/#/c/721221/ Change-Id: I9ef336cf32dad96ff4a4fcc2743363a8f40f4718
23 lines
475 B
INI
23 lines
475 B
INI
[tox]
|
|
minversion = 3.1
|
|
envlist = docs
|
|
skipsdist = True
|
|
ignore_basepython_conflict = True
|
|
|
|
[testenv]
|
|
basepython = python3
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
|
passenv = *_proxy *_PROXY
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:docs]
|
|
deps = -r{toxinidir}/doc/requirements.txt
|
|
commands =
|
|
rm -rf doc/build
|
|
sphinx-build -W -b html doc/source doc/build/html
|
|
whitelist_externals =
|
|
rm
|