ed6ebcca03
This gets rid of the warning message saying that nothing is actually linking to the document. To get rid of the chicken-egg problem: The -infra templated job for docs requires that a venv be created using tox. It will actually run this command to build the documentation: tox -evenv -- python setup.py build_sphinx Change-Id: I0f03ad6efe2a997c9cecac6240e1e8be8e85ccf6
20 lines
397 B
INI
20 lines
397 B
INI
[tox]
|
|
minversion = 1.6
|
|
skipsdist = True
|
|
envlist = docs
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
install_command = pip install -U {opts} {packages}
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
|
|
[testenv:docs]
|
|
deps = -r{toxinidir}/dev-requirements.txt
|
|
commands=
|
|
python setup.py build_sphinx
|
|
|
|
# environment used by the -infra templated docs job
|
|
[testenv:venv]
|
|
deps = -r{toxinidir}/dev-requirements.txt
|
|
commands = {posargs}
|