Merge "Use constraints for docs tox target" into stable/train

This commit is contained in:
Zuul 2019-12-20 01:25:38 +00:00 committed by Gerrit Code Review
commit f72731c96e
1 changed files with 4 additions and 1 deletions

View File

@ -146,7 +146,10 @@ commands = {posargs}
[testenv:docs]
basepython = python3
envdir = {toxworkdir}/docs
deps = -r{toxinidir}/doc/requirements.txt
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/train}
-r{toxinidir}/doc/requirements.txt
-r{toxinidir}/requirements.txt
commands = sphinx-build -W -b html doc/source doc/build/html
[testenv:pdf-docs]