diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2012-02-25 19:24:24 +0200 |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2012-02-25 19:24:24 +0200 |
commit | f5ea48fd3bc604fdc52b034570e853152c1e61cf (patch) | |
tree | c2c9464a3556cee84d4a16ecfdad4a8fc8179269 | |
parent | e84e263a84745c9cbede0ac9385e2cff3f8ebfdf (diff) | |
download | cpython-git-f5ea48fd3bc604fdc52b034570e853152c1e61cf.tar.gz |
#14114: don't include copybutton.js in the htmlhelp output.
-rw-r--r-- | 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 index 8659ef0364..d4bb105e83 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 %} |