Skip to content

Commit

Permalink
repo dropdown menu in header: "suggest edit" link target always point…
Browse files Browse the repository at this point in the history
…ing to chapter "contributing
  • Loading branch information
ksuess committed Sep 4, 2022
1 parent 5d05f28 commit 0fae30d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}

0 comments on commit 0fae30d

Please sign in to comment.