From 9febba9b39b98124e18aa011e794910bcdfefc23 Mon Sep 17 00:00:00 2001 From: parulin <161326115+parulin@users.noreply.github.com> Date: Sun, 27 Jul 2025 17:11:51 -0400 Subject: [PATCH] Add "Edit on Github" button --- conf.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/conf.py b/conf.py index 85f31d1e..d6c590aa 100644 --- a/conf.py +++ b/conf.py @@ -87,6 +87,14 @@ gettext_compact = False locale_dirs = ['_translated'] +html_context = { + "display_github": True, + "github_user": "QubesOS", + "github_repo": "qubes-doc", + "github_version": "main", + "conf_py_path": "/", +} + # from https://gist.github.com/ehles/bed012d78aad5d3cd6c35a49bef32f9f def align(argument): """Conversion function for the "align" option."""