Skip to content

Commit

Permalink
Add 'Edit on GitHub' button
Browse files Browse the repository at this point in the history
  • Loading branch information
ninadicara authored Oct 30, 2023
1 parent 98b9e31 commit 7bd68f0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion site/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
html_theme = "pydata_sphinx_theme"

html_theme_options = {
"use_edit_page_button": True,
"icon_links": [
{
"name": "GitHub",
Expand Down Expand Up @@ -80,7 +81,11 @@
}

html_context = {
"default_mode": "light"
"default_mode": "light",
"github_user": "very-good-science",
"github_repo": "data-hazards",
"github_version": "main",
"doc_path": "site/",
}

html_sidebars = {
Expand Down

0 comments on commit 7bd68f0

Please sign in to comment.