Fix doc builds
The updated releasenote and requirements jobs expect requirements for docs in one of the requirements files. Move requirements from setup.cfg to doc/requirements.txt file. See also https://governance.openstack.org/tc/reference/project-testing-interface.html#documentation Change-Id: Ic454831a80f799c2be5ba3089001f31f68c39f85
This commit is contained in:
parent
0bdd314485
commit
7bae6bdbab
2
doc/requirements.txt
Normal file
2
doc/requirements.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
sphinx>=1.6.2 # BSD
|
||||||
|
openstackdocstheme>=1.11.0 # Apache-2.0
|
@ -33,9 +33,6 @@ test =
|
|||||||
pifpaf[gnocchi]>=0.23
|
pifpaf[gnocchi]>=0.23
|
||||||
gnocchi[postgresql,file]
|
gnocchi[postgresql,file]
|
||||||
mock>=1.2 # BSD
|
mock>=1.2 # BSD
|
||||||
doc =
|
|
||||||
sphinx>=1.6.2 # BSD
|
|
||||||
openstackdocstheme>=1.11.0 # Apache-2.0
|
|
||||||
|
|
||||||
[entry_points]
|
[entry_points]
|
||||||
console_scripts =
|
console_scripts =
|
||||||
|
4
tox.ini
4
tox.ini
@ -24,7 +24,7 @@ commands = flake8
|
|||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
# Used by openstack-infra to build the doc
|
# Used by openstack-infra to build the doc
|
||||||
deps = .[doc]
|
deps = -r{toxinidir}/doc/requirements.txt
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
@ -36,7 +36,7 @@ commands =
|
|||||||
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
deps = .[doc]
|
deps = -r{toxinidir}/doc/requirements.txt
|
||||||
commands =
|
commands =
|
||||||
rm -rf doc/source/ref
|
rm -rf doc/source/ref
|
||||||
python setup.py build_sphinx
|
python setup.py build_sphinx
|
||||||
|
Loading…
x
Reference in New Issue
Block a user