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
|
||||
# text edit cycles.
|
||||
# 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.
|
||||
templates_path = ['_templates']
|
||||
|
7
tox.ini
7
tox.ini
@ -1,5 +1,5 @@
|
||||
[tox]
|
||||
minversion = 3.2.0
|
||||
minversion = 4.0.0
|
||||
envlist = linters,docs,py3
|
||||
skipsdist = True
|
||||
|
||||
@ -29,7 +29,7 @@ deps =
|
||||
-r {toxinidir}/requirements.txt
|
||||
-r {toxinidir}/test-requirements.txt
|
||||
-r {toxinidir}/doc/requirements.txt
|
||||
whitelist_externals = bash
|
||||
allowlist_externals = bash
|
||||
basepython = python3.10
|
||||
|
||||
[testenv:bindep]
|
||||
@ -96,11 +96,12 @@ deps =
|
||||
-r {toxinidir}/test-requirements.txt
|
||||
-r {toxinidir}/doc/requirements.txt
|
||||
commands=
|
||||
pip install {toxinidir}
|
||||
sphinx-build -a -E -W -d doc/build/doctrees --keep-going -b html doc/source doc/build/html -T
|
||||
doc8 doc
|
||||
|
||||
[testenv:pdf-docs]
|
||||
whitelist_externals = make
|
||||
allowlist_externals = make
|
||||
description =
|
||||
Build PDF documentation.
|
||||
envdir = {toxworkdir}/docs
|
||||
|
Loading…
Reference in New Issue
Block a user