Merge "Add doc/requirements"

This commit is contained in:
Zuul 2021-01-13 15:29:30 +00:00 committed by Gerrit Code Review
commit f89474f2cc
3 changed files with 4 additions and 2 deletions

2
doc/requirements.txt Normal file
View File

@ -0,0 +1,2 @@
sphinx>=2.0.0,!=2.1.0 # BSD
openstackdocstheme>=2.2.1 # Apache-2.0

View File

@ -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

View File

@ -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]