Skip to content

Commit

Permalink
Patch core links back to __init__ because autodoc refs are not usin…
Browse files Browse the repository at this point in the history
…g fully qualified module names.
  • Loading branch information
cboulay committed Mar 15, 2024
1 parent 477b4bd commit 3936f67
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,8 @@ def linkcode_resolve(domain, info):
filename = info['module'].replace('.', '/')
if "sigproc" in filename:
return f"{code_url}extensions/ezmsg-sigproc/src/{filename}.py"
elif "core" in filename:
return f"{code_url}src/ezmsg/core/__init__.py"
else:
return f"{code_url}src/{filename}.py"

0 comments on commit 3936f67

Please sign in to comment.