88279bd6cc
The first version of this change was broken, fix it with updating
roles/ensure-sphinx/tasks/main.yaml to run the test-requirements check
really on the remove node.
This reverts commit 68ded2251f
.
Change-Id: I481e032834fdbf674157b2c9a8fa6f95fc570ddb
33 lines
820 B
ReStructuredText
33 lines
820 B
ReStructuredText
Ensure sphinx is installed
|
|
|
|
Installs sphinx. Also installs any dependencies needed in the first of
|
|
doc/requirements.txt and test-requirements.txt to be found.
|
|
|
|
All pip installs are done with a provided constraints file, if given.
|
|
|
|
**Role Variables**
|
|
|
|
.. zuul:rolevar:: constraints_file
|
|
|
|
Optional path to a pip constraints file for installing python libraries.
|
|
|
|
.. zuul:rolevar:: doc_building_packages
|
|
:default: ['sphinx']
|
|
|
|
List of python packages to install for building docs.
|
|
|
|
.. zuul:rolevar:: sphinx_python
|
|
:default: python2
|
|
|
|
Version of python to use, either ``python2`` or ``python3``.
|
|
|
|
.. zuul:rolevar:: zuul_work_virtualenv
|
|
:default: ~/.venv
|
|
|
|
Virtualenv location in which to install things.
|
|
|
|
.. zuul:rolevar:: zuul_work_dir
|
|
:default: {{ zuul.project.src_dir }}
|
|
|
|
Directory to operate in.
|