Skip to content

Commit

Permalink
Set override=True when adding autosummary directive
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzncode committed Jun 8, 2022
1 parent e8f1859 commit 66ba29f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/ext/sphinx_autodoc_multimethod.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def format_signature(self, **kwargs: Any) -> str:
def setup(app):

app.connect("autodoc-process-docstring", process_docstring_multimethod)
app.add_directive("autosummary", MultimethodAutosummary)
app.add_directive("autosummary", MultimethodAutosummary, override=True)
app.add_autodocumenter(MethodDocumenter, override=True)

return {"parallel_read_safe": True, "parallel_write_safe": True}

0 comments on commit 66ba29f

Please sign in to comment.