From e0b96ed25738dc7eae47bbe94faeb023d189bd36 Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Sat, 23 Dec 2017 14:15:16 -0500 Subject: [PATCH] Backport PR #10065: Add version to documentation header --- doc/_templates/layout.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html index 093dd8cb104e..af6d6bef38bb 100644 --- a/doc/_templates/layout.html +++ b/doc/_templates/layout.html @@ -172,9 +172,13 @@

{{ _('Navigation') }}

{%- endif %}
{%- if builder in ('htmlhelp', 'devhelp', 'latex') %} -matplotlib + +
Version {{ version|e }}
+ matplotlib
{%- else %} -matplotlib + +
Version {{ version|e }}
+ matplotlib
{%- endif %}