Changes needed for full functionality of tox 4.0.0 runtime
Closes-Bug: #2000867 Signed-off-by: Jiri Podivin <jpodivin@redhat.com> Change-Id: Ib9e3d5c1a8bde890f915cf28baf58695a008abc9
This commit is contained in:
parent
430530fad5
commit
0c29d457a8
@ -69,7 +69,7 @@ openstackdocs_bug_tag = 'documentation'
|
|||||||
# autodoc generation is a bit aggressive and a nuisance when doing heavy
|
# autodoc generation is a bit aggressive and a nuisance when doing heavy
|
||||||
# text edit cycles.
|
# text edit cycles.
|
||||||
# execute "export SPHINX_DEBUG=1" in your terminal to disable
|
# execute "export SPHINX_DEBUG=1" in your terminal to disable
|
||||||
autodoc_mock_imports = ['oslotest', 'ansible']
|
autodoc_mock_imports = ['oslotest', 'ansible', 'ansible_runner']
|
||||||
|
|
||||||
# Add any paths that contain templates here, relative to this directory.
|
# Add any paths that contain templates here, relative to this directory.
|
||||||
templates_path = ['_templates']
|
templates_path = ['_templates']
|
||||||
|
7
tox.ini
7
tox.ini
@ -1,5 +1,5 @@
|
|||||||
[tox]
|
[tox]
|
||||||
minversion = 3.2.0
|
minversion = 4.0.0
|
||||||
envlist = linters,docs,py3
|
envlist = linters,docs,py3
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
|
|
||||||
@ -29,7 +29,7 @@ deps =
|
|||||||
-r {toxinidir}/requirements.txt
|
-r {toxinidir}/requirements.txt
|
||||||
-r {toxinidir}/test-requirements.txt
|
-r {toxinidir}/test-requirements.txt
|
||||||
-r {toxinidir}/doc/requirements.txt
|
-r {toxinidir}/doc/requirements.txt
|
||||||
whitelist_externals = bash
|
allowlist_externals = bash
|
||||||
basepython = python3.10
|
basepython = python3.10
|
||||||
|
|
||||||
[testenv:bindep]
|
[testenv:bindep]
|
||||||
@ -96,11 +96,12 @@ deps =
|
|||||||
-r {toxinidir}/test-requirements.txt
|
-r {toxinidir}/test-requirements.txt
|
||||||
-r {toxinidir}/doc/requirements.txt
|
-r {toxinidir}/doc/requirements.txt
|
||||||
commands=
|
commands=
|
||||||
|
pip install {toxinidir}
|
||||||
sphinx-build -a -E -W -d doc/build/doctrees --keep-going -b html doc/source doc/build/html -T
|
sphinx-build -a -E -W -d doc/build/doctrees --keep-going -b html doc/source doc/build/html -T
|
||||||
doc8 doc
|
doc8 doc
|
||||||
|
|
||||||
[testenv:pdf-docs]
|
[testenv:pdf-docs]
|
||||||
whitelist_externals = make
|
allowlist_externals = make
|
||||||
description =
|
description =
|
||||||
Build PDF documentation.
|
Build PDF documentation.
|
||||||
envdir = {toxworkdir}/docs
|
envdir = {toxworkdir}/docs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user