Skip to content

Commit

Permalink
Revert "add small extension to get the edit on github button working"
Browse files Browse the repository at this point in the history
This reverts commit e33338f.
  • Loading branch information
santisoler committed Nov 29, 2024
1 parent 3634e16 commit ba5d8ac
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 56 deletions.
42 changes: 0 additions & 42 deletions _ext/edit_on_github.py

This file was deleted.

22 changes: 8 additions & 14 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
'sphinxcontrib.bibtex',
'sphinx_rtd_theme',
'matplotlib.sphinxext.plot_directive',
'edit_on_github',
'purpose',
'question',
'geosciapp',
Expand Down Expand Up @@ -84,7 +83,7 @@
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = "en"
language = None

# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
Expand Down Expand Up @@ -159,11 +158,6 @@
# number figures
numfig = True

# -- Edit on Github Extension ---------------------------------------------

edit_on_github_project = 'geoscixyz/em'
edit_on_github_branch = 'main'


# -- Options for HTML output ----------------------------------------------

Expand All @@ -172,13 +166,13 @@

import sphinx_rtd_theme
html_theme = 'sphinx_rtd_theme'
# html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
# html_context = {
# 'display_github': True,
# 'github_user': 'geoscixyz',
# 'github_repo': 'em',
# 'github_version': 'main'
# }
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
html_context = {
'display_github': True,
'github_user': 'geoscixyz',
'github_repo': 'em',
'github_version': 'main'
}
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
html_title = 'Electromagnetic Geophysics'
Expand Down

0 comments on commit ba5d8ac

Please sign in to comment.