diff --git a/admin/doc-requirements.txt b/admin/doc-requirements.txt index 16f3766784f..d52f8dee0ed 100644 --- a/admin/doc-requirements.txt +++ b/admin/doc-requirements.txt @@ -4,3 +4,5 @@ breathe == 4.14.0 pyyaml >= 5.1.2 Cython prettytable +sphinx-autodoc-typehints +typed-ast diff --git a/doc/conf.py b/doc/conf.py index f22871dca34..f5fb6ffc975 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -48,6 +48,7 @@ sys.path.insert(0, os.path.abspath('_ext')) extensions = [ 'sphinx.ext.autodoc', + 'sphinx_autodoc_typehints', 'sphinx.ext.graphviz', 'sphinx.ext.todo', 'sphinxcontrib.ditaa',