summaryrefslogtreecommitdiffstats
path: root/Doc/tools/sphinxext
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2012-02-25 17:26:39 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2012-02-25 17:26:39 (GMT)
commit8c5c3c1e337e1fdcee47a00e5aca39be1ff8a7e9 (patch)
treeaf884d14560b039dc6f30fd8daa919872a85390b /Doc/tools/sphinxext
parentc071a613df254f6c38427ca8ed47553f7a458a59 (diff)
parent4342722f4050b6d48fd786d1df1d69c2d5af919c (diff)
downloadcpython-8c5c3c1e337e1fdcee47a00e5aca39be1ff8a7e9.zip
cpython-8c5c3c1e337e1fdcee47a00e5aca39be1ff8a7e9.tar.gz
cpython-8c5c3c1e337e1fdcee47a00e5aca39be1ff8a7e9.tar.bz2
#14114: merge with 3.2.
Diffstat (limited to 'Doc/tools/sphinxext')
-rw-r--r--Doc/tools/sphinxext/layout.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tools/sphinxext/layout.html b/Doc/tools/sphinxext/layout.html
index 8659ef0..d4bb105 100644
--- a/Doc/tools/sphinxext/layout.html
+++ b/Doc/tools/sphinxext/layout.html
@@ -6,7 +6,7 @@
{% endblock %}
{% block extrahead %}
<link rel="shortcut icon" type="image/png" href="{{ pathto('_static/py.png', 1) }}" />
- <script type="text/javascript" src="{{ pathto('_static/copybutton.js', 1) }}"></script>
+ {% if not embedded %}<script type="text/javascript" src="{{ pathto('_static/copybutton.js', 1) }}"></script>{% endif %}
{{ super() }}
{% endblock %}
{% block footer %}