Skip to content

Commit 3519d61

Browse files
committed
docs(conf): sphinx-autodoc-typehints tweaks
1 parent 71b279f commit 3519d61

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@
9191
autodoc_member_order = "bysource"
9292
autosummary_generate = True
9393

94+
# sphinx-autodoc-typehints
95+
autodoc_typehints = "description" # show type hints in doc body instead of signature
96+
simplify_optional_unions = True
97+
9498
# sphinx-autoapi
9599
autoapi_type = "python"
96100
autoapi_dirs = [project_root / "libvcs"]

0 commit comments

Comments
 (0)