limit sphinx version and enable autotoc typehints
sphinx 7 introduces an issue with circular imports
This commit is contained in:
parent
3177c8d411
commit
5a0bdbf5de
@ -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",
|
||||
|
@ -11,4 +11,5 @@ python-barcode>=0.11.0,<1
|
||||
importlib-metadata
|
||||
importlib_resources
|
||||
sphinxcontrib.datatemplates
|
||||
sphinx-autodoc-typehints
|
||||
pycups
|
||||
|
3
tox.ini
3
tox.ini
@ -30,11 +30,12 @@ setenv = PY_IGNORE_IMPORTMISMATCH=1
|
||||
[testenv:docs]
|
||||
basepython = python
|
||||
changedir = doc
|
||||
deps = sphinx>=3.0.0
|
||||
deps = sphinx>=3.0.0,<7
|
||||
setuptools_scm
|
||||
python-barcode
|
||||
sphinxcontrib-spelling>=7.2.0
|
||||
sphinxcontrib.datatemplates
|
||||
sphinx-autodoc-typehints
|
||||
sphinx_rtd_theme
|
||||
pycups
|
||||
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
|
||||
|
Loading…
x
Reference in New Issue
Block a user