From e978c26e31074e4fa1867bb0400b642223ec5fc2 Mon Sep 17 00:00:00 2001 From: Mariatta Date: Sat, 11 Feb 2017 19:43:38 -0800 Subject: [PATCH 1/2] bpo-28929: Link the documentation to its source file on GitHub Change the documentation's `Show Source` link on the left menu to GitHub source file. (cherry picked from commit 23bafa294c75c20cb85ae5d97d7571a3a0ad8dd3) --- Doc/tools/templates/customsourcelink.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Doc/tools/templates/customsourcelink.html b/Doc/tools/templates/customsourcelink.html index 243d8107779361..4e3bb329fdc6e3 100644 --- a/Doc/tools/templates/customsourcelink.html +++ b/Doc/tools/templates/customsourcelink.html @@ -3,8 +3,14 @@

{{ _('This Page') }}

{%- endif %} From 424a1d7f1400278f5ee7d3584a2740e6ef1f6304 Mon Sep 17 00:00:00 2001 From: Mariatta Date: Sat, 11 Feb 2017 23:21:36 -0800 Subject: [PATCH 2/2] remove if statement --- Doc/tools/templates/customsourcelink.html | 3 --- 1 file changed, 3 deletions(-) diff --git a/Doc/tools/templates/customsourcelink.html b/Doc/tools/templates/customsourcelink.html index 4e3bb329fdc6e3..71d0bba683074e 100644 --- a/Doc/tools/templates/customsourcelink.html +++ b/Doc/tools/templates/customsourcelink.html @@ -4,9 +4,6 @@

{{ _('This Page') }}