Skip to content

Commit

Permalink
add edit buttons (#1318)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mridul Seth authored Jul 24, 2023
1 parent af2054a commit 5e97dad
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Documentation/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
html_theme = "pydata_sphinx_theme"

html_theme_options = {
"use_edit_page_button": True,
"icon_links": [
{
"name": "GitHub",
Expand Down Expand Up @@ -93,6 +94,15 @@
]
}

# Point to Econ-ARK repo for edit buttons
html_context = {
"github_url": "https://github.com",
"github_user": "econ-ark",
"github_repo": "hark",
"github_version": "master",
"doc_path": "Documentation/",
}

# Use Econ-ARK URL to host the website
html_baseurl = "https://docs.econ-ark.org"

Expand Down

0 comments on commit 5e97dad

Please sign in to comment.