Add doc job requirements.txt
We had previously installed our docs dependencies as extras in setup.cfg. Doc jobs are now changed to not install the project, so these dependencies are no longer being installed. With recent changes to the doc jobs, we need to specificy that python3 is used. Update the zuul config file for this. Change-Id: Ie925efefb1126dbe7fa0a9f0f1727da01f48c512 Depends-on: Ib882a4d09898ff206b36ac8aef840bee0748368e
This commit is contained in:
parent
a2e8f393ed
commit
bccb7dea80
@ -10,11 +10,16 @@
|
||||
jobs:
|
||||
- openstack-tox-validate
|
||||
- releases-tox-list-changes
|
||||
- build-openstack-sphinx-docs
|
||||
- build-openstack-sphinx-docs:
|
||||
vars:
|
||||
sphinx_python: python3
|
||||
|
||||
gate:
|
||||
jobs:
|
||||
- openstack-tox-validate
|
||||
- build-openstack-sphinx-docs
|
||||
- build-openstack-sphinx-docs:
|
||||
vars:
|
||||
sphinx_python: python3
|
||||
release-post:
|
||||
jobs:
|
||||
- tag-releases
|
||||
|
6
doc/requirements.txt
Normal file
6
doc/requirements.txt
Normal file
@ -0,0 +1,6 @@
|
||||
# Packages required for building docs
|
||||
|
||||
sphinx>=1.6.2 # BSD
|
||||
oslosphinx>=4.7.0 # Apache-2.0
|
||||
sphinxcontrib.datatemplates>=0.1.0 # BSD License
|
||||
icalendar>=3.10 # BSD
|
5
tox.ini
5
tox.ini
@ -59,8 +59,11 @@ commands = {toxinidir}/tools/build_tag_history.sh {toxinidir}
|
||||
#commands = python setup.py testr --coverage --testr-args='{posargs}'
|
||||
|
||||
[testenv:docs]
|
||||
deps =
|
||||
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
commands = sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html
|
||||
deps = .[sphinxext]
|
||||
|
||||
[flake8]
|
||||
# E123, E125 skipped as they are invalid PEP-8.
|
||||
|
Loading…
Reference in New Issue
Block a user