Skip to content

Commit

Permalink
Update conf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
avantikalal authored May 30, 2024
1 parent 52f484f commit 26b60c7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def linkcode_resolve(domain, info):
if not info['module']:
return None
filename = info['module'].replace('.', '/')
return "https://code.roche.com/braid-relu/grelu/-/blob/main/src/%s.py" % filename
return "https://github.com/Genentech/gReLU/tree/main/src/%s.py" % filename

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]
Expand Down Expand Up @@ -155,9 +155,9 @@ def linkcode_resolve(domain, info):
"show_version_warning_banner": True,
"icon_links": [
{
"name": "GitLab",
"url": "https://code.roche.com/braid-relu/grelu",
"icon": "fab fa-gitlab",
"name": "GitHub",
"url": "https://github.com/Genentech/gReLU",
"icon": "fab fa-github",
"type": "fontawesome",
},
],
Expand All @@ -171,10 +171,10 @@ def linkcode_resolve(domain, info):
}

html_context = {
"gitlab_url": "https://code.roche.com",
"gitlab_user": "braid-relu",
"gitlab_repo": "grelu",
"gitlab_version": "main",
"github_url": "https://github.com",
"github_user": "Genentech",
"github_repo": "gReLU",
"github_version": "main",
"doc_path": "docs",
}
html_show_sourcelink = True
Expand Down

0 comments on commit 26b60c7

Please sign in to comment.