Fix PDF docs build
Update tox config to include upper-constraints as dependencies. This resolves issues with building PDF docs. Change-Id: I7d6789cecfeb432e0a0c38f996f559c24c85ca03
This commit is contained in:
parent
5705523386
commit
1b34a81d91
4
tox.ini
4
tox.ini
@ -13,10 +13,14 @@ deps = -r{toxinidir}/doc/requirements.txt
|
|||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
|
deps =
|
||||||
|
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||||
|
-r{toxinidir}/doc/requirements.txt
|
||||||
commands = sphinx-build -W -b html doc/source doc/build/html
|
commands = sphinx-build -W -b html doc/source doc/build/html
|
||||||
|
|
||||||
[testenv:pdf-docs]
|
[testenv:pdf-docs]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
|
deps = {[testenv:docs]deps}
|
||||||
whitelist_externals = make
|
whitelist_externals = make
|
||||||
commands =
|
commands =
|
||||||
sphinx-build -b latex doc/source doc/build/pdf
|
sphinx-build -b latex doc/source doc/build/pdf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user