aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorGravatar Numerlor <[email protected]>2022-07-23 15:27:20 +0200
committerGravatar GitHub <[email protected]>2022-07-23 13:27:20 +0000
commit7f8d2abcc0830268774a8b90c12da8b52be1398b (patch)
tree9d7a08a810195cd3abe6de492fca9bbeca980b16 /docs
parentAdd an optional message attr to ViewWithUserAndRoleCheck (diff)
Merge PR #105: Correctly determine source modules for re-exported symbols
Diffstat (limited to 'docs')
-rw-r--r--docs/utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/utils.py b/docs/utils.py
index bb8074ba..cb4ffd50 100644
--- a/docs/utils.py
+++ b/docs/utils.py
@@ -64,6 +64,7 @@ def linkcode_resolve(repo_link: str, domain: str, info: dict[str, str]) -> typin
try:
lines, start = inspect.getsourcelines(symbol[-1])
+ module = inspect.getmodule(symbol[-1])
end = start + len(lines)
except TypeError:
# Find variables by parsing the ast