From a2857c0a16097780db8ddb1d7fc9724a9e7579bc Mon Sep 17 00:00:00 2001 From: Alex Hadley Date: Sat, 24 Aug 2024 15:26:24 -0400 Subject: [PATCH] Add GitHub info to Sphinx html_context --- docs/conf.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index 698100f..d3d6b8a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -18,6 +18,13 @@ # HTML output options html_theme = "furo" html_static_path = ["_static"] +html_context = { + "display_github": True, + "github_user": "PainterQubits", + "github_repo": "datalogs", + "github_version": "main", + "conf_py_path": "docs", +} html_theme_options = { "source_repository": "https://github.com/PainterQubits/datalogs", "source_branch": "main",