Skip to content

Commit 303d7cc

Browse files
committed
repo dropdown menu in header: "suggest edit" link target always pointing to chapter "contributing
1 parent 21a49f4 commit 303d7cc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/conf.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,3 +269,10 @@
269269
# The name of an image file (relative to this directory) to place at the top of
270270
# the title page.
271271
latex_logo = "_static/logo_2x.png"
272+
273+
274+
# suggest edit link
275+
# remark: {{ file_name }} is mandatory in "edit_page_url_template"
276+
html_context = {
277+
"edit_page_url_template": "https://6.dev-docs.plone.org/contributing/index.html?{{ file_name }}#making-contributions-on-github",
278+
}

0 commit comments

Comments
 (0)