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

Commit9930f3d

Browse files
committed
1 parent729fcc1 commit9930f3d

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

‎python_docs_theme/footerdonate.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{% trans %}The Python Software Foundation is a non-profit corporation.{% endtrans %}
22
<ahref="https://www.python.org/psf/donations/">{% trans %}Please donate.{% endtrans %}</a>
3-
<br/>
3+
<br>

‎python_docs_theme/layout.html

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ <h3>{{ _('Navigation') }}</h3>
1414
</li>
1515
{%- endfor %}
1616
{%- block rootrellink %}
17-
<li><imgsrc="{{ pathto('_static/' ~ theme_root_icon, 1) }}"alt="{{ theme_root_icon_alt_text }}"style="vertical-align: middle; margin-top: -1px"/></li>
17+
<li><imgsrc="{{ pathto('_static/' ~ theme_root_icon, 1) }}"alt="{{ theme_root_icon_alt_text }}"style="vertical-align: middle; margin-top: -1px"></li>
1818
<li><ahref="{{theme_root_url}}">{{theme_root_name}}</a>{{ reldelim1 }}</li>
1919
<liclass="switchers">
2020
<divclass="language_switcher_placeholder"></div>
@@ -48,8 +48,8 @@ <h3>{{ _('Navigation') }}</h3>
4848
{%- if builder != "htmlhelp" %}
4949
<divclass="inline-search"role="search">
5050
<formclass="inline-search"action="{{ pathto('search') }}"method="get">
51-
<inputplaceholder="{{ _('Quick search') }}"aria-label="{{ _('Quick search') }}"type="search"name="q"id="search-box"/>
52-
<inputtype="submit"value="{{ _('Go') }}"/>
51+
<inputplaceholder="{{ _('Quick search') }}"aria-label="{{ _('Quick search') }}"type="search"name="q"id="search-box">
52+
<inputtype="submit"value="{{ _('Go') }}">
5353
</form>
5454
</div>
5555
{%- endif %}
@@ -71,7 +71,7 @@ <h3>{{ _('Navigation') }}</h3>
7171

7272
{%- block extrahead -%}
7373
<linkrel="stylesheet"href="{{ pathto('_static/pydoctheme_dark.css', 1) }}"media="(prefers-color-scheme: dark)"id="pydoctheme_dark_css">
74-
<linkrel="shortcut icon"type="image/png"href="{{ pathto('_static/' ~ theme_root_icon, 1) }}"/>
74+
<linkrel="shortcut icon"type="image/png"href="{{ pathto('_static/' ~ theme_root_icon, 1) }}">
7575
{%- if builder != "htmlhelp" %}
7676
{%- if not embedded %}
7777
<scripttype="text/javascript"src="{{ pathto('_static/copybutton.js', 1) }}"></script>
@@ -93,23 +93,23 @@ <h3>{{ _('Navigation') }}</h3>
9393
{%- if builder != 'htmlhelp' %}
9494
<divclass="mobile-nav">
9595
<inputtype="checkbox"id="menuToggler"class="toggler__input"aria-controls="navigation"
96-
aria-pressed="false"aria-expanded="false"role="button"aria-label="{{ _('Menu')}}"/>
96+
aria-pressed="false"aria-expanded="false"role="button"aria-label="{{ _('Menu')}}">
9797
<navclass="nav-content"role="navigation">
9898
<labelfor="menuToggler"class="toggler__label">
9999
<span></span>
100100
</label>
101101
<spanclass="nav-items-wrapper">
102102
<ahref="{{ theme_root_url }}"class="nav-logo">
103-
<imgsrc="{{ pathto('_static/' ~ theme_root_icon, 1) }}"alt="{{ theme_root_icon_alt_text }}"/>
103+
<imgsrc="{{ pathto('_static/' ~ theme_root_icon, 1) }}"alt="{{ theme_root_icon_alt_text }}">
104104
</a>
105105
<spanclass="version_switcher_placeholder"></span>
106106
{%- if pagename != "search" and builder != "singlehtml" %}
107107
<formrole="search"class="search"action="{{ pathto('search') }}"method="get">
108108
<svgxmlns="http://www.w3.org/2000/svg"width="20"height="20"viewBox="0 0 24 24"class="search-icon">
109109
<pathfill-rule="nonzero"fill="currentColor"d="M15.5 14h-.79l-.28-.27a6.5 6.5 0 001.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 00-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 005.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49L15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"></path>
110110
</svg>
111-
<inputplaceholder="{{ _('Quick search') }}"aria-label="{{ _('Quick search') }}"type="search"name="q"/>
112-
<inputtype="submit"value="{{ _('Go') }}"/>
111+
<inputplaceholder="{{ _('Quick search') }}"aria-label="{{ _('Quick search') }}"type="search"name="q">
112+
<inputtype="submit"value="{{ _('Go') }}">
113113
</form>
114114
{%- endif %}
115115
</span>
@@ -121,7 +121,7 @@ <h3>{{ _('Navigation') }}</h3>
121121
{%- if logo %}
122122
<pclass="logo">
123123
<ahref="{{ pathto('index') }}">
124-
<imgclass="logo"src="{{ pathto('_static/' ~ logo, 1)|e }}"alt="Logo"/>
124+
<imgclass="logo"src="{{ pathto('_static/' ~ logo, 1)|e }}"alt="Logo">
125125
</a>
126126
</p>
127127
{%- endif %}
@@ -143,29 +143,29 @@ <h3>{{ _('Navigation') }}</h3>
143143
{% if theme_copyright_url or hasdoc('copyright') %}
144144
</a>
145145
{% endif %} {{ copyright|e }}.
146-
<br/>
146+
<br>
147147
{% trans %}This page is licensed under the Python Software Foundation License Version 2.{% endtrans %}
148-
<br/>
148+
<br>
149149
{% trans %}Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.{% endtrans %}
150-
<br/>
150+
<br>
151151
{% if theme_license_url %}
152-
{% trans license_file=theme_license_url %}See<ahref="{{ license_file }}">History and License</a> for more information.{% endtrans %}<br/>
152+
{% trans license_file=theme_license_url %}See<ahref="{{ license_file }}">History and License</a> for more information.{% endtrans %}<br>
153153
{% endif %}
154154
{% if theme_hosted_on %}
155-
{% trans hosted_on=theme_hosted_on %}Hosted on {{ hosted_on }}.{% endtrans %}<br/>
155+
{% trans hosted_on=theme_hosted_on %}Hosted on {{ hosted_on }}.{% endtrans %}<br>
156156
{% endif %}
157-
<br/>
157+
<br>
158158

159159
{% include "footerdonate.html" %}
160-
<br/>
160+
<br>
161161

162162
{%- if last_updated %}
163163
{% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}
164164
{%- endif %}
165165
{% if theme_issues_url %}
166166
{% trans %}<ahref="{{ theme_issues_url }}">Found a bug</a>?{% endtrans %}
167167
{% endif %}
168-
<br/>
168+
<br>
169169

170170
{% trans sphinx_version=sphinx_version|e %}Created using<ahref="https://www.sphinx-doc.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}
171171
</div>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp