Skip to content

Commit

Permalink
Backport PR #3042: docs: fix RTD source links
Browse files Browse the repository at this point in the history
  • Loading branch information
ori-kron-wis authored and meeseeksmachine committed Nov 13, 2024
1 parent e363771 commit c2fbcf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def linkcode_resolve(domain, info):
return None

path = f"{path}#L{lineno}-L{lineno + len(src) - 1}"
return f"{repository_url}/blob/{git_ref}/scvi/{path}"
return f"{repository_url}/blob/{git_ref}/src/scvi/{path}"


# -- Config for hoverxref -------------------------------------------
Expand Down

0 comments on commit c2fbcf4

Please sign in to comment.