1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-12-02 09:43:30 +00:00

mock module qrcode for documentation build

This prevents issues with sphinx 7.2
This commit is contained in:
Patrick Kanzler
2023-08-24 22:54:21 +02:00
parent 7f39b2b8b5
commit cb2415b93b
2 changed files with 4 additions and 1 deletions

View File

@@ -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",