Skip to content

Commit

Permalink
Merge pull request #84 from ISISComputingGroup/add_edit_on_github_button
Browse files Browse the repository at this point in the history
Add 'edit on github' button in corner of docs page
  • Loading branch information
Tom-Willemsen authored Nov 28, 2024
2 parents 0884456 + 145f07e commit 2c994f2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,17 @@
templates_path = ["_templates"]
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]


# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_context = {
"display_github": True, # Integrate GitHub
"github_user": "ISISComputingGroup", # Username
"github_repo": "ibex_bluesky_core", # Repo name
"github_version": "main", # Version
"conf_py_path": "/doc/", # Path in the checkout to the docs root
}

html_theme = "sphinx_rtd_theme"
html_logo = "logo.png"
html_theme_options = {
Expand Down

0 comments on commit 2c994f2

Please sign in to comment.