mock module qrcode for documentation build
This prevents issues with sphinx 7.2
This commit is contained in:
parent
7f39b2b8b5
commit
cb2415b93b
@ -47,6 +47,9 @@ extensions = [
|
|||||||
"sphinxcontrib.spelling",
|
"sphinxcontrib.spelling",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# mock the following modules for autodoc
|
||||||
|
autodoc_mock_imports = ["qrcode"]
|
||||||
|
|
||||||
# supress warnings for external images
|
# supress warnings for external images
|
||||||
suppress_warnings = [
|
suppress_warnings = [
|
||||||
"image.nonlocal_uri",
|
"image.nonlocal_uri",
|
||||||
|
2
tox.ini
2
tox.ini
@ -30,7 +30,7 @@ setenv = PY_IGNORE_IMPORTMISMATCH=1
|
|||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
basepython = python
|
basepython = python
|
||||||
changedir = doc
|
changedir = doc
|
||||||
deps = sphinx>=3.0.0,<7.2
|
deps = sphinx>=7.2.3
|
||||||
setuptools_scm
|
setuptools_scm
|
||||||
python-barcode
|
python-barcode
|
||||||
sphinxcontrib-spelling>=7.2.0
|
sphinxcontrib-spelling>=7.2.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user