Skip to content

Commit e74ca6e

Browse files
committed
Add support for Google docstrings and include typehints
1 parent 329293b commit e74ca6e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,15 @@
1313
'sphinx.ext.duration',
1414
'sphinx.ext.doctest',
1515
'sphinx.ext.intersphinx',
16-
'autoapi.extension'
16+
'autoapi.extension',
17+
'sphinx.ext.autodoc.typehints',
18+
'sphinx.ext.napoleon'
1719
]
1820
autoapi_dirs = ['../dabench']
1921
autoapi_options = ['members', 'undoc-members', 'show-inheritance',
2022
'show-module-summary', 'special-members',
2123
'imported-members']
24+
autodoc_typehints = 'description'
2225

2326
intersphinx_mapping = {
2427
'python': ('https://docs.python.org/3/', None),

0 commit comments

Comments
 (0)