Skip to content

Commit

Permalink
Reference Sphinx AutodocDirective
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph-Edwards committed Apr 25, 2024
1 parent b3fbb04 commit 8db880a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,14 @@ def fix_overloads(self, content):
return output

def basic_run(self):
"""Generate and parse the docstring"""
"""Generate and parse the docstring
This is almost identical to AutodocDirective.run(), with the added step
that allows for better overloaded functions.
See:
https://github.com/sphinx-doc/sphinx/blob/master/sphinx/ext/autodoc/directive.py
"""
reporter = self.state.document.reporter

try:
Expand Down

0 comments on commit 8db880a

Please sign in to comment.