Skip to content

Commit

Permalink
Fix RTD API rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
LourensVeen committed Jan 6, 2025
1 parent 36c9632 commit 0bb7659
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,22 +85,6 @@

add_module_names = False

def strip_signatures(app, what, name, obj, options, signature, return_annotation):
sig = None
if signature is not None:
sig = re.sub('ymmsl\.[^.]*\.', '', signature)

ret = None
if return_annotation is not None:
ret = re.sub('ymmsl\.[^.]*\.', '', signature)

return sig, ret


def setup(app):
app.connect('autodoc-process-signature', strip_signatures)


# -- Options for HTML output ----------------------------------------------

# The theme to use for HTML and HTML Help pages. See the documentation for
Expand Down

0 comments on commit 0bb7659

Please sign in to comment.