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

Commitb82d371

Browse files
authored
Merge pull request#10080 from matplotlib/auto-backport-of-pr-10065
Backport PR#10065 on branch v2.1.1-doc
2 parents9f17a5b +e0b96ed commitb82d371

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="float: left; position: absolute; width: 496px; bottom: 0; padding-bottom: 24px"><spanstyle="float: right; color: #789; background: white">Version {{ version|e }}</span></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="float: left; position: absolute; width: 496px; bottom: 0; padding-bottom: 24px"><spanstyle="float: right; color: #789; background: white">Version {{ version|e }}</span></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