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:
Jiri Podivin
2023-01-02 16:11:24 +01:00
parent 430530fad5
commit 970a940914
3 changed files with 5 additions and 3 deletions

View File

@@ -10,6 +10,7 @@ Global Options
.. autoprogram-cliff:: validations_libs.cli.app.ValidationCliApp
:application: validation
Command Options
~~~~~~~~~~~~~~~

View File

@@ -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']

View File

@@ -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 .
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