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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user