From b60375cbb799ffcb0a3fd92555148b8e64702dc8 Mon Sep 17 00:00:00 2001 From: Michael Rienstra Date: Thu, 30 Oct 2025 14:39:05 -0700 Subject: [PATCH] feat: link pages to GitHub source --- src/conf.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/conf.py b/src/conf.py index 536fd32..e94c5ec 100644 --- a/src/conf.py +++ b/src/conf.py @@ -182,6 +182,13 @@ html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] html_theme_options = {"collapse_navigation": False, "navigation_depth": 4} + html_context = { + "display_github": True, + "github_user": "ActivityWatch", + "github_repo": "docs", + "github_version": "master", + "conf_py_path": "/src/", + } using_rtd_theme = True # The name for this set of Sphinx documents.