Skip to content

Commit 3404aaa

Browse files
committed
Doc: use edit on github button
This replaces the "view page source" button which is not very helpful.
1 parent b3097b0 commit 3404aaa

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

doc/conf.py

+9
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)