]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
doc: Add sphinx_autodoc_typehints extension
authorSebastian Wagner <sebastian.wagner@suse.com>
Thu, 27 Feb 2020 12:16:00 +0000 (13:16 +0100)
committerSebastian Wagner <sebastian.wagner@suse.com>
Thu, 27 Feb 2020 12:16:00 +0000 (13:16 +0100)
`mgr/orchestrator_modules.rst` makes heavy use type hints.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
admin/doc-requirements.txt
doc/conf.py

index 16f3766784f489531caacf0a45bc7a5dd671402b..d52f8dee0edc5303a793c059077cc010ed144a56 100644 (file)
@@ -4,3 +4,5 @@ breathe == 4.14.0
 pyyaml >= 5.1.2
 Cython
 prettytable
+sphinx-autodoc-typehints
+typed-ast
index f22871dca34ef3e752cd283fdb918eb192174219..f5fb6ffc9754bc786df2830506cc82225f8ac265 100644 (file)
@@ -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',