From ec370d07de1536c5e41afbabbed0e6ed6efc2fcf Mon Sep 17 00:00:00 2001 From: Manuel Kaufmann Date: Tue, 15 Oct 2024 16:04:42 +0200 Subject: [PATCH] Docs: recover "Edit on GitHub" links (#11681) --- docs/conf.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index 9ef5ae58336..d69728980d2 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -173,6 +173,10 @@ # TODO: remove once we support different rtd config # files per project. "conf_py_path": f"/docs/{docset}/", + "display_github": True, + "github_user": "readthedocs", + "github_repo": "readthedocs.org", + "github_version": "main", # Use to generate the Plausible "data-domain" attribute from the template "plausible_domain": f"{os.environ.get('READTHEDOCS_PROJECT')}.readthedocs.io", }