diff --git a/docs/conf.py b/docs/conf.py index 4e6207d17..c2ab76e33 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -66,6 +66,26 @@ } add_module_names = False +html_theme_options = { + "use_edit_page_button": True, + "icon_links": [ + { + "name": "GitHub", + "url": "https://github.com/NeurodataWithoutBorders/nwb-guide", + "icon": "fa-brands fa-github", + "type": "fontawesome", + }, + ], +} + +html_context = { + # "github_url": "https://github.com", # or your GitHub Enterprise site + "github_user": "NeurodataWithoutBorders", + "github_repo": "nwb-guide", + "github_version": "main", + "doc_path": "docs", +} + def _correct_signatures(app, what, name, obj, options, signature, return_annotation): if what == "class":