From 4ad7d6866900eed891910961d37710437539e1f0 Mon Sep 17 00:00:00 2001 From: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> Date: Thu, 21 Dec 2017 01:25:25 +0100 Subject: [PATCH] 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 %}