From e61a39e28045137807b1d5d4c08b60a37f0a77c9 Mon Sep 17 00:00:00 2001 From: Ariel Rokem Date: Mon, 27 Jul 2026 17:02:34 -0400 Subject: [PATCH] Changes to configuration to make it more uniform with others. And also to link from the top left logo back to the central site. --- docs/conf.py | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 3ad3c20..c56b1fa 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -23,19 +23,30 @@ html_theme = 'pydata_sphinx_theme' html_static_path = ['_static'] -html_sidebars = { - "**": ["sidebar-collapse.html", "sidebar-nav-global.html"] -} - html_theme_options = { - "show_nav_level": 2, - "collapse_navigation": False, - "navigation_depth": 4, + "icon_links": [ + { + "name": "GitHub", + "url": "https://github.com/tee-ar-ex/trx-cpp", + "icon": "fa-brands fa-github", + }, + ], "logo": { "image_light": "_static/trx_logo.png", "image_dark": "_static/trx_logo.png", - "alt_text": "trx-javascript", - }, + "alt_text": "TRX", + "link": "https://tee-ar-ex.github.io", + }, + "show_toc_level": 2, + "navigation_depth": 4, + "navigation_with_keys": True, + "show_nav_level": 2, + "navbar_align": "left", + "header_links_before_dropdown": 5, +} + +html_sidebars = { + "**": ["sidebar-nav-bs.html"], } myst_enable_extensions = [