From 32dd5be6674058885e364070b45706254a8eeacc Mon Sep 17 00:00:00 2001 From: Ben Dichter Date: Sun, 10 Mar 2024 17:48:38 -0400 Subject: [PATCH] docs: add html_theme_options Add edit button to docs and a link to the GitHub repo --- docs/conf.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index 4e6207d17..3dc6d6c9a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -66,6 +66,18 @@ } add_module_names = False +html_theme_options = { + "use_edit_page_button": True, + "icon_links": [ + { + "name": "GitHub", + "url": "https://github.com/catalystneuro/neuroconv", + "icon": "fa-brands fa-github", + "type": "fontawesome", + }, + ], +} + def _correct_signatures(app, what, name, obj, options, signature, return_annotation): if what == "class":