Skip to content

Commit 23ebb58

Browse files
committed
Adopt common autodoc_typehints configuration
See ansys/pydpf-post#169
1 parent 31c0b50 commit 23ebb58

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/source/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@
5959
# "pyvista": ("https://docs.pyvista.org/", None),
6060
}
6161

62+
# sphinx_autodoc_typehints configuration
63+
typehints_defaults = "comma"
64+
simplify_optional_unions = False
65+
6266
# numpydoc configuration
6367
numpydoc_show_class_members = False
6468
numpydoc_xref_param_type = True

0 commit comments

Comments
 (0)