diff --git a/Documentation/conf.py b/Documentation/conf.py index a8fdba6c4..b79e240eb 100644 --- a/Documentation/conf.py +++ b/Documentation/conf.py @@ -63,6 +63,7 @@ html_theme = "pydata_sphinx_theme" html_theme_options = { + "use_edit_page_button": True, "icon_links": [ { "name": "GitHub", @@ -92,6 +93,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"