Skip to content

Commit d261806

Browse files
authored
Add GitHub button to docs (#96)
Link to GitHub repo on top right corner.
1 parent 3680817 commit d261806

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

doc/conf.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,11 @@ def setup(app):
161161
# Theme options are theme-specific and customize the look and feel of a theme
162162
# further. For a list of options available for each theme, see the
163163
# documentation.
164-
# html_theme_options = {}
164+
html_theme_options = {
165+
'repository_url': 'https://github.com/xarray-contrib/xbatcher',
166+
'use_repository_button': True,
167+
'use_issues_button': True,
168+
}
165169

166170
# Add any paths that contain custom themes here, relative to this directory.
167171
# html_theme_path = []

0 commit comments

Comments
 (0)