summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-12-07 11:54:07 (GMT)
committerGeorg Brandl <georg@python.org>2008-12-07 11:54:07 (GMT)
commit6212971e95309972d65a189fc158fedf6bd8e135 (patch)
treebd8d4a504598c9c3ec305bc1f63dbd4acbb0e950
parent4f7f77b7a5b6a51a126e5d96355477ab0ce58aa0 (diff)
downloadcpython-6212971e95309972d65a189fc158fedf6bd8e135.zip
cpython-6212971e95309972d65a189fc158fedf6bd8e135.tar.gz
cpython-6212971e95309972d65a189fc158fedf6bd8e135.tar.bz2
Add link to the favicon to the docs.
-rw-r--r--Doc/tools/sphinxext/layout.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/Doc/tools/sphinxext/layout.html b/Doc/tools/sphinxext/layout.html
index a6afd15..6029871 100644
--- a/Doc/tools/sphinxext/layout.html
+++ b/Doc/tools/sphinxext/layout.html
@@ -1,4 +1,10 @@
{% extends "!layout.html" %}
{% block rootrellink %}
-<li><img src="{{ pathto('_static/py.png', 1) }}" alt="" style="vertical-align: middle; margin-top: -1px"/></li><li><a href="{{ pathto('index') }}">{{ shorttitle }}</a>{{ reldelim1 }}</li>
+ <li><img src="{{ pathto('_static/py.png', 1) }}" alt=""
+ style="vertical-align: middle; margin-top: -1px"/></li>
+ <li><a href="{{ pathto('index') }}">{{ shorttitle }}</a>{{ reldelim1 }}</li>
+{% endblock %}
+{% block extrahead %}
+ <link rel="shortcut icon" type="image/png" href="{{ pathto('_static/py.png', 1) }}" />
+{{ super() }}
{% endblock %}