We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b75403 commit e958c3bCopy full SHA for e958c3b
docs/tools/utils.py
@@ -31,8 +31,8 @@ def linkcode_resolve(domain, info):
31
fn = os.path.relpath(fn, start=os.path.dirname(__file__))
32
33
# Adjust if project inside src folder
34
- if fn.startswith("src"):
35
- fn = fn[len("src/") :]
+ if fn.startswith("../../src"):
+ fn = fn[len("../../src/") :]
36
37
return f"https://github.com/mind-inria/hidimstat/blob/main/src/{fn}#L{lineno}-L{lineno + len(source) - 1}"
38
except Exception:
0 commit comments