Skip to content

Commit 5e9c943

Browse files
committed
chore(docs): use builtin autodoc hints
1 parent b7dde0d commit 5e9c943

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/conf.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,11 @@
4242
"sphinx.ext.autodoc",
4343
"sphinx.ext.autosummary",
4444
"ext.docstrings",
45-
"sphinx_autodoc_typehints", # must be loaded after napoleon modules
4645
"sphinxcontrib.autoprogram",
4746
]
4847

48+
autodoc_typehints = "both"
49+
4950
# Add any paths that contain templates here, relative to this directory.
5051
templates_path = ["_templates"]
5152

requirements-docs.txt

-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@ myst-parser
44
sphinx==4.3.1
55
sphinx_rtd_theme
66
sphinxcontrib-autoprogram
7-
sphinx-autodoc-typehints==1.12.0

0 commit comments

Comments
 (0)