From e24e1200351bac10c0fb9f23608bc385b35afb49 Mon Sep 17 00:00:00 2001 From: Charles-Henri de Boysson Date: Tue, 14 Feb 2023 16:50:02 -0500 Subject: docs: Include type hints in docs --- docs/conf.py | 1 + setup.cfg | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index fb1d598..17b3ff4 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -42,6 +42,7 @@ extensions = [ "sphinx.ext.autodoc", "sphinx.ext.doctest", "sphinx.ext.viewcode", + "sphinx_autodoc_typehints", ] # Add any paths that contain templates here, relative to this directory. diff --git a/setup.cfg b/setup.cfg index 2f29292..63d3ac6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -71,6 +71,7 @@ sasl = docs = Sphinx>=1.2.2 + sphinx-autodoc-typehints>=1 typing = mypy>=0.991 -- cgit v1.2.1