Skip to content

Commit

Permalink
Add "Edit on GitHub" links
Browse files Browse the repository at this point in the history
  • Loading branch information
abitrolly committed Dec 4, 2024
1 parent ebf02ad commit c92b81c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,16 @@ def _load_theme(
# a list of builtin themes.
html_theme = HTML_THEME

print("Using theme: " + HTML_THEME)

# ## Edit on GitHub feature, inherited by renku theme from rtd theme
html_context = {
'display_github': True,
'github_user': 'teemtee',
'github_repo': 'tmt',
'github_version': 'main/docs/'
}

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
Expand Down

0 comments on commit c92b81c

Please sign in to comment.