diff options
author | 2022-07-23 15:48:11 +0200 | |
---|---|---|
committer | 2022-07-23 15:48:11 +0200 | |
commit | 2dd2236eff1411f0680c8f3cd0344390b95ab476 (patch) | |
tree | 8a298eb66495d2bae6890a3082042fdac0b802ca | |
parent | Update changelog.rst (diff) | |
parent | Merge PR #105: Correctly determine source modules for re-exported symbols (diff) |
Merge branch 'main' into bot-core-100
-rw-r--r-- | docs/utils.py | 1 |
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 |