mirror of
https://github.com/ceph/ceph
synced 2026-08-02 15:08:20 +00:00
doc: Add sphinx_autodoc_typehints extension
`mgr/orchestrator_modules.rst` makes heavy use type hints. Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
This commit is contained in:
parent
53febd478d
commit
30d415974c
@ -4,3 +4,5 @@ breathe == 4.14.0
|
||||
pyyaml >= 5.1.2
|
||||
Cython
|
||||
prettytable
|
||||
sphinx-autodoc-typehints
|
||||
typed-ast
|
||||
|
||||
@ -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',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user