Skip to content

Commit 9c54bcd

Browse files
Update 404 to modern Sphinx
1 parent e3299ae commit 9c54bcd

File tree

1 file changed

+200
-72
lines changed

1 file changed

+200
-72
lines changed

templates/404.html

Lines changed: 200 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,37 @@
11
<!DOCTYPE html>
22

3-
<html>
3+
<html lang="en" data-content_root="./">
44
<head>
55
<meta charset="utf-8" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>Archive not found</title><meta name="viewport" content="width=device-width, initial-scale=1.0">
8-
<link rel="stylesheet" href="/_static/pydoctheme.css" type="text/css" />
9-
<script id="documentation_options" data-url_root="./" src="/_static/documentation_options.js"></script>
10-
<script src="/_static/jquery.js"></script>
11-
<script src="/_static/underscore.js"></script>
12-
<script src="/_static/doctools.js"></script>
13-
<script src="/_static/language_data.js"></script>
148

15-
<link rel="author" title="About these documents" href="about.html" />
16-
<link rel="index" title="Index" href="genindex.html" />
17-
<link rel="copyright" title="Copyright" href="copyright.html" />
9+
<link rel="stylesheet" type="text/css" href="/3/_static/pygments.css?v=b86133f3" />
10+
<link rel="stylesheet" type="text/css" href="/3/_static/classic.css?v=234b1a7c" />
11+
<link rel="stylesheet" type="text/css" href="/3/_static/pydoctheme.css?v=82640b3f" />
12+
<link rel="stylesheet" type="text/css" href="/3/_static/profiling-sampling-visualization.css?v=0c2600ae" />
13+
<link id="pygments_dark_css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css" href="/3/_static/pygments_dark.css?v=5349f25f" />
14+
15+
<script src="/3/_static/documentation_options.js?v=cf041bec"></script>
16+
<script src="/3/_static/doctools.js?v=9bcbadda"></script>
17+
<script src="/3/_static/sphinx_highlight.js?v=dc90522c"></script>
18+
<script src="/3/_static/profiling-sampling-visualization.js?v=9811ed04"></script>
19+
20+
<script src="/3/_static/sidebar.js"></script>
21+
22+
<link rel="search" type="application/opensearchdescription+xml"
23+
title="Search within Python 3.15.0a7 documentation"
24+
href="/3/_static/opensearch.xml"/>
25+
<link rel="author" title="About these documents" href="/3/about.html" />
26+
<link rel="index" title="Index" href="/3/genindex.html" />
27+
<link rel="search" title="Search" href="/3/search.html" />
28+
<link rel="copyright" title="Copyright" href="/3/copyright.html" />
29+
30+
31+
<link rel="canonical" href="https://docs.python.org/3/404.html">
32+
33+
34+
1835

1936
<style>
2037
@media only screen {
@@ -23,87 +40,198 @@
2340
}
2441
}
2542
</style>
26-
<link rel="shortcut icon" type="image/png" href="/_static/py.svg" />
43+
<link rel="stylesheet" href="/3/_static/pydoctheme_dark.css" media="(prefers-color-scheme: dark)" id="pydoctheme_dark_css">
44+
<link rel="shortcut icon" type="image/png" href="/3/_static/py.svg">
45+
<script type="text/javascript" src="/3/_static/copybutton.js"></script>
46+
<script type="text/javascript" src="/3/_static/menu.js"></script>
47+
<script type="text/javascript" src="/3/_static/search-focus.js"></script>
48+
<script type="text/javascript" src="/3/_static/themetoggle.js"></script>
49+
<script type="text/javascript" src="/3/_static/rtd_switcher.js"></script>
50+
<meta name="readthedocs-addons-api-version" content="1">
51+
2752
</head>
28-
<body>
29-
<div class="mobile-nav">
53+
<body>
54+
<div class="mobile-nav">
3055
<input type="checkbox" id="menuToggler" class="toggler__input" aria-controls="navigation"
31-
aria-pressed="false" aria-expanded="false" role="button" aria-label="Menu" />
32-
<label for="menuToggler" class="toggler__label">
33-
<span></span>
34-
</label>
56+
aria-pressed="false" aria-expanded="false" role="button" aria-label="Menu">
3557
<nav class="nav-content" role="navigation">
36-
<a href="https://www.python.org/" class="nav-logo">
37-
<img src="/_static/py.svg" alt="Logo"/>
38-
</a>
39-
<div class="version_switcher_placeholder"></div>
58+
<label for="menuToggler" class="toggler__label">
59+
<span></span>
60+
</label>
61+
<span class="nav-items-wrapper">
62+
<a href="https://www.python.org/" class="nav-logo">
63+
<img src="/3/_static/py.svg" alt="Python logo">
64+
</a>
65+
<span class="version_switcher_placeholder"></span>
66+
<form role="search" class="search" action="/3/search.html" method="get">
67+
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" class="search-icon">
68+
<path fill-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>
69+
</svg>
70+
<input placeholder="Quick search" aria-label="Quick search" type="search" name="q">
71+
<input type="submit" value="Go">
72+
</form>
73+
</span>
4074
</nav>
4175
<div class="menu-wrapper">
4276
<nav class="menu" role="navigation" aria-label="main navigation">
4377
<div class="language_switcher_placeholder"></div>
78+
79+
<label class="theme-selector-label">
80+
Theme
81+
<select class="theme-selector" oninput="activateTheme(this.value)">
82+
<option value="auto" selected>Auto</option>
83+
<option value="light">Light</option>
84+
<option value="dark">Dark</option>
85+
</select>
86+
</label>
4487
</nav>
4588
</div>
46-
</div>
47-
48-
49-
<div class="related" role="navigation" aria-label="related navigation">
50-
<h3>Navigation</h3>
51-
<ul>
52-
<li class="right" style="margin-right: 10px">
53-
<li><img src="/_static/py.svg" alt="python logo" style="vertical-align: middle; margin-top: -1px"/></li>
54-
<li><a href="https://www.python.org/">Python</a> &#187;</li>
55-
<li class="switchers">
56-
<div class="language_switcher_placeholder"></div>
57-
<div class="version_switcher_placeholder"></div>
58-
</li>
59-
<li id="cpython-language-and-version"><a href="/">Documentation</a> &#187;</li>
60-
</ul>
61-
</div>
62-
<div class="document">
63-
<div class="documentwrapper">
64-
<div class="bodywrapper">
65-
<div class="body" role="main">
89+
</div>
90+
91+
92+
<div class="related" role="navigation" aria-label="Related">
93+
<h3>Navigation</h3>
94+
<ul>
95+
<li class="right" style="margin-right: 10px">
96+
<a href="/3/genindex.html" title="General Index"
97+
accesskey="I">index</a></li>
98+
<li class="right" >
99+
<a href="/3/py-modindex.html" title="Python Module Index"
100+
>modules</a> |</li>
101+
102+
<li><img src="/3/_static/py.svg" alt="Python logo" style="vertical-align: middle; margin-top: -1px"></li>
103+
<li><a href="https://www.python.org/">Python</a> &#187;</li>
104+
<li class="switchers">
105+
<div class="language_switcher_placeholder"></div>
106+
<div class="version_switcher_placeholder"></div>
107+
</li>
108+
<li>
109+
110+
</li>
111+
<li id="cpython-language-and-version">
112+
<a href="/3/index.html">3.15.0a7 Documentation</a> &#187;
113+
</li>
114+
115+
<li class="nav-item nav-item-this"><a href="">Page not found</a></li>
116+
<li class="right">
117+
118+
119+
<div class="inline-search" role="search">
120+
<form class="inline-search" action="/3/search.html" method="get">
121+
<input placeholder="Quick search" aria-label="Quick search" type="search" name="q" id="search-box">
122+
<input type="submit" value="Go">
123+
</form>
124+
</div>
125+
|
126+
</li>
127+
<li class="right">
128+
<label class="theme-selector-label">
129+
Theme
130+
<select class="theme-selector" oninput="activateTheme(this.value)">
131+
<option value="auto" selected>Auto</option>
132+
<option value="light">Light</option>
133+
<option value="dark">Dark</option>
134+
</select>
135+
</label> |</li>
136+
137+
</ul>
138+
</div>
139+
140+
<div class="document">
141+
<div class="documentwrapper">
142+
<div class="bodywrapper">
143+
<div class="body" role="main">
66144
<h1>404 — Archive Not Found</h1>
67145
<p>The archive you're trying to download has not been built yet.</p>
68146
<p>Please try again later or consult the
69147
<a href="https://docs.python.org/3/archives/">archives for earlier versions</a>.
70148
</p>
71-
<div class="clearer"></div>
149+
<div class="clearer"></div>
150+
</div>
72151
</div>
73152
</div>
153+
<div class="sphinxsidebar" role="navigation" aria-label="Main">
154+
<div class="sphinxsidebarwrapper">
155+
</div>
156+
<div id="sidebarbutton" title="Collapse sidebar">
157+
<span>«</span>
158+
</div>
159+
160+
</div>
161+
<div class="clearer"></div>
74162
</div>
75-
<div class="clearer"></div>
76-
</div>
77-
<div class="related" role="navigation" aria-label="related navigation">
78-
<h3>Navigation</h3>
79-
<ul>
80-
<li class="right"></li>
81-
<li><img src="/_static/py.svg" alt="python logo" style="vertical-align: middle; margin-top: -1px"/></li>
82-
<li><a href="https://www.python.org/">Python</a> &#187;</li>
83-
<li class="switchers">
84-
<div class="language_switcher_placeholder"></div>
85-
<div class="version_switcher_placeholder"></div>
86-
</li>
87-
<li id="cpython-language-and-version">
88-
<a href="/">Documentation</a> &#187;
89-
</li>
90-
</ul>
91-
</div>
92-
<div class="footer">
93-
&copy; <a href="/copyright.html">Copyright</a> 2001-2022, Python Software Foundation.
94-
<br />
163+
<div class="related" role="navigation" aria-label="Related">
164+
<h3>Navigation</h3>
165+
<ul>
166+
<li class="right" style="margin-right: 10px">
167+
<a href="/3/genindex.html" title="General Index"
168+
>index</a></li>
169+
<li class="right" >
170+
<a href="/3/py-modindex.html" title="Python Module Index"
171+
>modules</a> |</li>
172+
173+
<li><img src="/3/_static/py.svg" alt="Python logo" style="vertical-align: middle; margin-top: -1px"></li>
174+
<li><a href="https://www.python.org/">Python</a> &#187;</li>
175+
<li class="switchers">
176+
<div class="language_switcher_placeholder"></div>
177+
<div class="version_switcher_placeholder"></div>
178+
</li>
179+
<li>
180+
181+
</li>
182+
<li id="cpython-language-and-version">
183+
<a href="/3/index.html">3.15.0a7 Documentation</a> &#187;
184+
</li>
185+
186+
<li class="nav-item nav-item-this"><a href="">Page not found</a></li>
187+
<li class="right">
188+
189+
190+
<div class="inline-search" role="search">
191+
<form class="inline-search" action="/3/search.html" method="get">
192+
<input placeholder="Quick search" aria-label="Quick search" type="search" name="q" id="search-box">
193+
<input type="submit" value="Go">
194+
</form>
195+
</div>
196+
|
197+
</li>
198+
<li class="right">
199+
<label class="theme-selector-label">
200+
Theme
201+
<select class="theme-selector" oninput="activateTheme(this.value)">
202+
<option value="auto" selected>Auto</option>
203+
<option value="light">Light</option>
204+
<option value="dark">Dark</option>
205+
</select>
206+
</label> |</li>
207+
208+
</ul>
209+
</div>
210+
<div class="footer">
211+
&copy; <a href="/3/copyright.html">Copyright</a> 2001 Python Software Foundation.
212+
<br>
95213
This page is licensed under the Python Software Foundation License Version 2.
96-
<br />
214+
<br>
97215
Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
98-
<br />
99-
See <a href="/license.html">History and License</a> for more information.<br />
100-
<br />
216+
<br>
217+
218+
See <a href="/license.html">History and License</a> for more information.<br>
219+
220+
221+
<br>
222+
101223
The Python Software Foundation is a non-profit corporation.
102-
<a href="https://www.python.org/psf/donations/">Please donate.</a>
103-
<br />
104-
<a href="/bugs.html">Found a bug</a>?
105-
<br />
106-
</div>
107-
<script type="text/javascript" src="/_static/switchers.js"></script>
224+
<a href="https://www.python.org/psf/donations/">Please donate.</a>
225+
<br>
226+
<br>
227+
Last updated on Apr 04, 2026 (16:44 UTC).
228+
229+
<a href="/bugs.html">Found a bug</a>?
230+
231+
<br>
232+
233+
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 8.2.3.
234+
</div>
235+
108236
</body>
109237
</html>

0 commit comments

Comments
 (0)