Merge "Add doc/requirements"
This commit is contained in:
commit
f89474f2cc
2
doc/requirements.txt
Normal file
2
doc/requirements.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
sphinx>=2.0.0,!=2.1.0 # BSD
|
||||||
|
openstackdocstheme>=2.2.1 # Apache-2.0
|
@ -3,6 +3,4 @@
|
|||||||
# process, which may cause wedges in the gate later.
|
# process, which may cause wedges in the gate later.
|
||||||
# needed for doc build
|
# needed for doc build
|
||||||
docutils>=0.11,!=0.13.1 # OSI-Approved Open Source, Public Domain
|
docutils>=0.11,!=0.13.1 # OSI-Approved Open Source, Public Domain
|
||||||
sphinx>=2.0.0,!=2.1.0 # BSD
|
|
||||||
openstackdocstheme>=2.2.1 # Apache-2.0
|
|
||||||
yamllint
|
yamllint
|
||||||
|
2
tox.ini
2
tox.ini
@ -13,6 +13,8 @@ basepython = python3
|
|||||||
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 -d doc/build/doctrees doc/source doc/build/html
|
commands = sphinx-build -W -b html -d doc/build/doctrees doc/source doc/build/html
|
||||||
|
|
||||||
[testenv:linters]
|
[testenv:linters]
|
||||||
|
Loading…
Reference in New Issue
Block a user