Skip to content

Commit 490a6dd

Browse files
authored
Add button to GitHub Repo
I personally dislike it a lot when I come to the documentation of a source code, but there is no easy/quick link to the repo, which means I have to google to find the repo ;-) Adding the `"github_url" to the "html_theme_options" should add a GitHub-link-button on the top-right corner, next to the switch for light/dark theme.
1 parent 8d9def3 commit 490a6dd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/source/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@
124124
# Theme config
125125
html_theme = "pydata_sphinx_theme"
126126
html_theme_options = {
127+
"github_url": "https://github.com/PyLops/pylops",
127128
# "logo_only": True,
128129
# "display_version": True,
129130
"logo": {

0 commit comments

Comments
 (0)