[Docs] Improve type hint style (#125)

pull/140/head
Zaida Zhou 2022-03-25 11:26:05 +08:00 committed by GitHub
parent 248ad9aee8
commit aee6d7a769
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -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']

View File

@ -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']