Skip to content

Commit

Permalink
Show inheritance in inlined classes in docs (#709) (#712)
Browse files Browse the repository at this point in the history
This was an oversight. We already show inheritance for dedicated class pages from `.. autosummary::`, but not inlined classes from `.. autodoc::`.

(cherry picked from commit 4ba61b4)

Co-authored-by: Eric Arellano <[email protected]>
  • Loading branch information
mergify[bot] and Eric-Arellano authored Nov 8, 2024
1 parent 176ace6 commit 41b8af1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
autodoc_typehints = "description"
autodoc_default_options = {
"inherited-members": None,
"show-inheritance": True,
}
napoleon_google_docstring = True
napoleon_numpy_docstring = False
Expand Down

0 comments on commit 41b8af1

Please sign in to comment.