Skip to content

Commit 8ba4204

Browse files
committed
Docs: display edit on github buttons
The "View Source" button is not useful. Closes #322
1 parent b3097b0 commit 8ba4204

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

doc/conf.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,15 @@
5656

5757
# -- Options for HTML output -------------------------------------------------
5858

59+
# Always show the Edit on GitHub buttons
60+
# Set the correct path for Edit on GitHub
61+
html_context = {
62+
'display_github': True,
63+
'github_user': 'imagej',
64+
'github_repo': 'pyimagej',
65+
'github_version': 'main/doc/',
66+
}
67+
5968
# The theme to use for HTML and HTML Help pages. See the documentation for
6069
# a list of builtin themes.
6170
#

0 commit comments

Comments
 (0)