From f2531808f3b0041786c68e50a88f6c5500a37dd4 Mon Sep 17 00:00:00 2001 From: Laerte Pereira <5853172+Laerte@users.noreply.github.com> Date: Sun, 28 Sep 2025 05:16:47 -0300 Subject: [PATCH] docs: Add Edit on GitHub (#7058) --- docs/conf.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index 0345ec695..5c5926dbe 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -68,6 +68,14 @@ html_css_files = [ "custom.css", ] +html_context = { + "display_github": True, + "github_user": "scrapy", + "github_repo": "scrapy", + "github_version": "master", + "conf_py_path": "/docs/", +} + # Set canonical URL from the Read the Docs Domain html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "")