Skip to content

Commit

Permalink
Edit on GitHub Link
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l committed Jul 10, 2020
1 parent e687015 commit bfa94c9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,16 @@
#
# html_theme_options = {}

html_context = {
# 'Edit on Github' link instead of 'View page source'
'display_github': True,
'github_user': 'snowmass-compf2-accelerators',
'github_repo': 'snowmass-compf2-accelerators.github.io',
'github_version': 'latest',
"conf_py_path": '/docs/',
"source_suffix": source_suffix,
}

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
Expand Down

0 comments on commit bfa94c9

Please sign in to comment.