Skip to content

Commit

Permalink
Adopt common autodoc_typehints configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
greschd committed Oct 6, 2022
1 parent 31c0b50 commit 23ebb58
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@
# "pyvista": ("https://docs.pyvista.org/", None),
}

# sphinx_autodoc_typehints configuration
typehints_defaults = "comma"
simplify_optional_unions = False

# numpydoc configuration
numpydoc_show_class_members = False
numpydoc_xref_param_type = True
Expand Down

0 comments on commit 23ebb58

Please sign in to comment.