Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite68bc68

Browse files
committed
add version to documentation header
1 parentfb2c15b commite68bc68

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

‎doc/_templates/layout.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,13 @@ <h3>{{ _('Navigation') }}</h3>
172172
{%- endif %}
173173
<divstyle="background-color: white; text-align: left; padding: 10px 10px 15px 15px; position: relative;">
174174
{%- if builder in ('htmlhelp', 'devhelp', 'latex') %}
175-
<ahref="{{ pathto('index') }}"><imgsrc="{{pathto("_static/logo2.png", 1) }}" width="540px"border="0"alt="matplotlib"/></a>
175+
<ahref="{{ pathto('index') }}">
176+
<divstyle="text-align: right; float: left; position: absolute; width: 496px; bottom: 0; padding-bottom: 22px; color: #789">Version {{ version|e }}</div>
177+
<imgsrc="{{pathto("_static/logo2.png", 1) }}" height="125px"border="0"alt="matplotlib"/></a>
176178
{%- else %}
177-
<ahref="{{ pathto('index') }}"><imgsrc="{{pathto("_static/logo2.svg", 1) }}" width="540px"border="0"alt="matplotlib"/></a>
179+
<ahref="{{ pathto('index') }}">
180+
<divstyle="text-align: right; float: left; position: absolute; width: 496px; bottom: 0; padding-bottom: 22px; color: #789">Version {{ version|e }}</div>
181+
<imgsrc="{{pathto("_static/logo2.png", 1) }}" height="125px"border="0"alt="matplotlib"/></a>
178182
{%- endif %}
179183

180184
<!-- The "Fork me on github" ribbon -->

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp