Skip to content

Commit

Permalink
Add configurations to show the 'Edit on GitHub' button
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman committed Jul 5, 2021
1 parent 82d6582 commit 70c08f6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# -- Project information -----------------------------------------------------

project = 'MsPASS'
copyright = '2020, Ian Wang'
copyright = '2020-2021, Ian Wang'
author = 'Ian Wang'

# The full version, including alpha/beta/rc tags
Expand Down Expand Up @@ -75,6 +75,15 @@
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
html_show_sphinx = False

html_context = {
"display_github": True,
"github_user": "mspass-team",
"github_repo": "mspass",
"github_version": "master",
"conf_py_path": "/docs/source/",
"theme_vcs_pageview_mode": "blob",
}

# Breathe Configuration
breathe_default_project = 'MsPASS C++ API'
breathe_projects = {}
Expand Down

0 comments on commit 70c08f6

Please sign in to comment.