Skip to content

Commit

Permalink
replace "Show Source" with "Edit on GitHub"
Browse files Browse the repository at this point in the history
  • Loading branch information
pdurbin committed Oct 19, 2024
1 parent a45808b commit 44fe75e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,14 @@
html_theme_options = {
"show_prev_next": False,
"header_links_before_dropdown": 6,
# see https://pydata-sphinx-theme.readthedocs.io/en/stable/user_guide/source-buttons.html
"use_edit_page_button": True,
}
html_context = {
"github_user": "gdcc",
"github_repo": "www.gdcc.io",
"github_version": "main",
"doc_path": "source",
}
# see use_edit_page_button, which we use instead
html_show_sourcelink = False

0 comments on commit 44fe75e

Please sign in to comment.