From 8446c243c554cb8c4ee4a02c64b10dd9477d4d7d Mon Sep 17 00:00:00 2001 From: Christian Ledermann Date: Thu, 21 Nov 2024 10:31:27 +0000 Subject: [PATCH] Add GitHub integration to Sphinx documentation configuration --- docs/conf.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index 4ab4572..44acdca 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -49,3 +49,11 @@ pass autodoc_member_order = "bysource" + +html_context = { + "display_github": True, # Integrate GitHub + "github_user": "cleder", # Username + "github_repo": "pygeoif", # Repo name + "github_version": "main", # Version + "conf_py_path": "/docs/", # Path in the checkout to the docs root +}