From 32ccf1f89352fa6d4ec288cddc4aaba6f0f0d920 Mon Sep 17 00:00:00 2001 From: dengemann Date: Thu, 27 Jul 2023 00:12:02 +0200 Subject: [PATCH] try adding github icon --- doc/conf.py | 43 +++++++++++++++++++++++++++++-------------- 1 file changed, 29 insertions(+), 14 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 83d5d28..9fcf3ad 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -92,19 +92,34 @@ "header_links_before_dropdown": 4, "navbar_end": ["theme-switcher", "navbar-icon-links"], "external_links": [ - { - "url": "https://pyriemann.readthedocs.io", - "name": "PyRiemann", - }, - { - "url": "https://scikit-learn.org", - "name": "scikit-learn", - }, - { - "url": "https://mne.tools", - "name": "MNE-Python" - } -], + { + "url": "https://pyriemann.readthedocs.io", + "name": "PyRiemann", + }, + { + "url": "https://scikit-learn.org", + "name": "scikit-learn", + }, + { + "url": "https://mne.tools", + "name": "MNE-Python" + } + ], + "icon_links": [ + { + 'name': "GitHub", + 'url': "https://github.com/coffeine-labs/coffeine", + 'icon': "fa-brands fa-square-github", + } + ], + "icon_links_label": "External Links", # for screen reader + "use_edit_page_button": True, + "navigation_with_keys": False } -html_context = {"default_mode": "light"} +html_context = { + "default_mode": "light", + "github_user": "coffeine-labs", + "github_repo": "coffeine", + "github_version": "main", +}