]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add "out of service" notice to 3.0 docs.
authorGeorg Brandl <georg@python.org>
Wed, 29 Jul 2009 16:15:50 +0000 (16:15 +0000)
committerGeorg Brandl <georg@python.org>
Wed, 29 Jul 2009 16:15:50 +0000 (16:15 +0000)
Doc/tools/sphinxext/layout.html

index 60298719395de3366f91ebfc58fbfc79e23eeb54..ebf6afa4d829549b6fba2d09c029d2c8fa4b2fa7 100644 (file)
@@ -1,4 +1,13 @@
 {% extends "!layout.html" %}
+{% block header %}
+    <div class="related" style="background-color: #600">
+    <div style="padding: 0 10px">
+    <em>This is documentation for Python 3.0, which is not maintained any more.
+    <a style="text-decoration: underline" href="http://docs.python.org/3.1/{{ pagename }}.html">
+    Go to this page in the Python 3.1 documentation</a></em>
+    </div>
+    </div>
+{% endblock %}
 {% block rootrellink %}
         <li><img src="{{ pathto('_static/py.png', 1) }}" alt=""
                  style="vertical-align: middle; margin-top: -1px"/></li>