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

limit sphinx version and enable autotoc typehints

sphinx 7 introduces an issue with circular imports
This commit is contained in:
Patrick Kanzler
2023-08-24 21:42:31 +02:00
parent 3177c8d411
commit 5a0bdbf5de
3 changed files with 4 additions and 1 deletions

View File

@@ -34,6 +34,7 @@ root = os.path.relpath(os.path.join(os.path.dirname(__file__), ".."))
# ones.
extensions = [
"sphinx.ext.autodoc",
"sphinx_autodoc_typehints",
"sphinx.ext.doctest",
"sphinx.ext.todo",
"sphinx.ext.coverage",

View File

@@ -11,4 +11,5 @@ python-barcode>=0.11.0,<1
importlib-metadata
importlib_resources
sphinxcontrib.datatemplates
sphinx-autodoc-typehints
pycups