From b8af7335ac60cefae407c1ae4cd906876d67e0fe Mon Sep 17 00:00:00 2001 From: Dag Wieers Date: Fri, 15 Mar 2019 20:05:18 +0100 Subject: [PATCH] Add canonical link support to 2.4 theme (#53801) * Add canonical link support to 2.4 theme * fix so 2.4 docs build --- docs/docsite/_themes/srtd/layout.html | 1 + docs/templates/plugin.rst.j2 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/docsite/_themes/srtd/layout.html b/docs/docsite/_themes/srtd/layout.html index 0a43025808f..facd931de0b 100644 --- a/docs/docsite/_themes/srtd/layout.html +++ b/docs/docsite/_themes/srtd/layout.html @@ -33,6 +33,7 @@ {% if favicon %} {% endif %} + {# CSS #} diff --git a/docs/templates/plugin.rst.j2 b/docs/templates/plugin.rst.j2 index 2ed09442c72..c5301fbfd57 100644 --- a/docs/templates/plugin.rst.j2 +++ b/docs/templates/plugin.rst.j2 @@ -194,7 +194,7 @@ Common return values are documented here :doc:`common_return_values`, the follow type sample -{% for entry in returndocs|dictsort %} +{% for entry, unusedvalue in returndocs|dictsort %} @{ entry }@