diff --git a/docs/conf.py b/docs/conf.py index a9f494da..be1ef609 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -45,6 +45,7 @@ "sphinx.ext.napoleon", "sphinx.ext.doctest", "sphinx.ext.mathjax", + "sphinx_autodoc_typehints", "sphinx_automodapi.automodapi", "sphinx_automodapi.smart_resolver", "sphinx_gallery.gen_gallery", diff --git a/pyproject.toml b/pyproject.toml index 4013853f..115a218c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -68,6 +68,7 @@ docs = [ "sphinx-copybutton", "sphinx-design", "sphinx-gallery", + "sphinx-autodoc-typehints", "sphinx>=7.0", "sphinxcontrib-bibtex", ]