From bf2ad286a7683d640f8bb660b67b2239e575628a Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Thu, 20 Nov 2025 10:01:06 -0500 Subject: [PATCH] docs: improve links back to GitHub Signed-off-by: Henry Schreiner --- docs/conf.py | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index d13917148..ab4185788 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -131,6 +131,29 @@ # html_theme = 'furo' + +html_theme_options = { + "source_repository": "https://github.com/scikit-build/cmake-python-distributions", + "source_branch": "main", + "source_directory": "docs/", + "footer_icons": [ + { + "name": "GitHub", + "url": "https://github.com/scikit-build/cmake-python-distributions", + "html": """ + + + + """, + "class": "", + }, + ], +} +html_copy_source = False +html_show_sourcelink = False + + + # -- Options for LaTeX output --------------------------------------------- latex_elements = {