From 0fae30da61ad798fc22488a273e93f914541f3c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Katja=20Su=CC=88ss?= Date: Sun, 4 Sep 2022 15:48:15 +0200 Subject: [PATCH] repo dropdown menu in header: "suggest edit" link target always pointing to chapter "contributing --- docs/conf.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index e713449716..38db28db19 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -269,3 +269,10 @@ # The name of an image file (relative to this directory) to place at the top of # the title page. latex_logo = "_static/logo_2x.png" + + +# suggest edit link +# remark: {{ file_name }} is mandatory in "edit_page_url_template" +html_context = { + "edit_page_url_template": "https://6.dev-docs.plone.org/contributing/index.html?{{ file_name }}#making-contributions-on-github", +}