diff --git a/doc/conf.py b/doc/conf.py index 4381304..f7dc802 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -47,6 +47,9 @@ extensions = [ "sphinxcontrib.spelling", ] +# mock the following modules for autodoc +autodoc_mock_imports = ["qrcode"] + # supress warnings for external images suppress_warnings = [ "image.nonlocal_uri", diff --git a/tox.ini b/tox.ini index 0161bce..ad1b518 100644 --- a/tox.ini +++ b/tox.ini @@ -30,7 +30,7 @@ setenv = PY_IGNORE_IMPORTMISMATCH=1 [testenv:docs] basepython = python changedir = doc -deps = sphinx>=3.0.0,<7.2 +deps = sphinx>=7.2.3 setuptools_scm python-barcode sphinxcontrib-spelling>=7.2.0