Skip to content
Snippets Groups Projects
Unverified Commit aee6d7a7 authored by Zaida Zhou's avatar Zaida Zhou Committed by GitHub
Browse files

[Docs] Improve type hint style (#125)

parent 248ad9ae
No related branches found
No related tags found
No related merge requests found
...@@ -46,7 +46,9 @@ extensions = [ ...@@ -46,7 +46,9 @@ extensions = [
'sphinx_markdown_tables', 'sphinx_markdown_tables',
'myst_parser', 'myst_parser',
'sphinx_copybutton', 'sphinx_copybutton',
'sphinx.ext.autodoc.typehints',
] # yapf: disable ] # yapf: disable
autodoc_typehints = 'description'
# Add any paths that contain templates here, relative to this directory. # Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates'] templates_path = ['_templates']
......
...@@ -50,7 +50,9 @@ extensions = [ ...@@ -50,7 +50,9 @@ extensions = [
'sphinx_markdown_tables', 'sphinx_markdown_tables',
'myst_parser', 'myst_parser',
'sphinx_copybutton', 'sphinx_copybutton',
'sphinx.ext.autodoc.typehints',
] # yapf: disable ] # yapf: disable
autodoc_typehints = 'description'
# Add any paths that contain templates here, relative to this directory. # Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates'] templates_path = ['_templates']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment