[Python-checkins] cpython (2.7): #14114: don't include copybutton.js in the htmlhelp output.
benjamin.peterson
python-checkins at python.org
Thu Mar 15 19:01:16 CET 2012
http://hg.python.org/cpython/rev/11a11e5cac0f
changeset: 75695:11a11e5cac0f
branch: 2.7
parent: 75217:2cb325d661eb
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Sat Feb 25 19:24:24 2012 +0200
summary:
#14114: don't include copybutton.js in the htmlhelp output.
files:
Doc/tools/sphinxext/layout.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/tools/sphinxext/layout.html b/Doc/tools/sphinxext/layout.html
--- 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 %}
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list