Skip to content

Commit d5fcc77

Browse files
committed
fix readthedocs
1 parent 254ef43 commit d5fcc77

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/source/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@
4949
if os.environ.get('READTHEDOCS') == 'True':
5050
extensions.append("sphinx_github_style")
5151
# Set the linkcode_url for sphinx-github-style extension
52-
linkcode_url = "https://github.com/dpeerlab/Palantir/blob/{revision}/{path}#L{lineno}"
52+
linkcode_url = "https://github.com/dpeerlab/Palantir/blob/master/{path}#L{lineno}"
53+
github_repo = "dpeerlab/Palantir"
54+
github_version = "master"
5355

5456
source_suffix = [".rst", ".md"]
5557

0 commit comments

Comments
 (0)