[Docs] Improve type hint style (#125)
parent
248ad9aee8
commit
aee6d7a769
|
@ -46,7 +46,9 @@ extensions = [
|
|||
'sphinx_markdown_tables',
|
||||
'myst_parser',
|
||||
'sphinx_copybutton',
|
||||
'sphinx.ext.autodoc.typehints',
|
||||
] # yapf: disable
|
||||
autodoc_typehints = 'description'
|
||||
|
||||
# Add any paths that contain templates here, relative to this directory.
|
||||
templates_path = ['_templates']
|
||||
|
|
|
@ -50,7 +50,9 @@ extensions = [
|
|||
'sphinx_markdown_tables',
|
||||
'myst_parser',
|
||||
'sphinx_copybutton',
|
||||
'sphinx.ext.autodoc.typehints',
|
||||
] # yapf: disable
|
||||
autodoc_typehints = 'description'
|
||||
|
||||
# Add any paths that contain templates here, relative to this directory.
|
||||
templates_path = ['_templates']
|
||||
|
|
Loading…
Reference in New Issue