From 49afb3da3472115aa671fe47a779e80076dad3b7 Mon Sep 17 00:00:00 2001 From: Dag Wieers Date: Tue, 29 Jan 2019 20:28:16 +0100 Subject: [PATCH] Update Docsite edit (#51115) * Improved template for docsite edits --- docs/docsite/_themes/sphinx_rtd_theme/breadcrumbs.html | 4 ++-- docs/docsite/_themes/srtd/breadcrumbs.html | 2 +- docs/templates/plugin.rst.j2 | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/docsite/_themes/sphinx_rtd_theme/breadcrumbs.html b/docs/docsite/_themes/sphinx_rtd_theme/breadcrumbs.html index 0b4eb150bf..762f362a78 100644 --- a/docs/docsite/_themes/sphinx_rtd_theme/breadcrumbs.html +++ b/docs/docsite/_themes/sphinx_rtd_theme/breadcrumbs.html @@ -3,11 +3,11 @@
  • {{ title }}
  • {% if pagename.endswith('_module') %}
  • - Edit on GitHub + Edit on GitHub
  • {% elif (not 'list_of' in pagename) and (not 'category' in pagename) %}
  • - Edit on GitHub + Edit on GitHub
  • {% endif %} diff --git a/docs/docsite/_themes/srtd/breadcrumbs.html b/docs/docsite/_themes/srtd/breadcrumbs.html index 8cb48a6f40..8b7e7b135e 100644 --- a/docs/docsite/_themes/srtd/breadcrumbs.html +++ b/docs/docsite/_themes/srtd/breadcrumbs.html @@ -3,7 +3,7 @@
  • {{ title }}
  • {% if not pagename.endswith('_module') and (not 'list_of' in pagename) and (not 'category' in pagename) %}
  • - Edit on GitHub + Edit on GitHub
  • {% endif %} diff --git a/docs/templates/plugin.rst.j2 b/docs/templates/plugin.rst.j2 index fb9c420f1a..7cff52726f 100644 --- a/docs/templates/plugin.rst.j2 +++ b/docs/templates/plugin.rst.j2 @@ -456,7 +456,7 @@ Authors .. hint:: {% if plugin_type == 'module' %} - If you notice any issues in this documentation you can `edit this document `_ to improve it. + If you notice any issues in this documentation you can `edit this document `_ to improve it. {% else %} - If you notice any issues in this documentation you can `edit this document `_ to improve it. + If you notice any issues in this documentation you can `edit this document `_ to improve it. {% endif %}