diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2012-02-25 17:24:24 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2012-02-25 17:24:24 (GMT) |
commit | 0e4944911813528c77073c262771eae1e8033f2f (patch) | |
tree | 70a513578ac8a5635773c74c837d4968b3613bdd | |
parent | 11d748e422bd2680dc65b644b4ef8fc438447102 (diff) | |
download | cpython-0e4944911813528c77073c262771eae1e8033f2f.zip cpython-0e4944911813528c77073c262771eae1e8033f2f.tar.gz cpython-0e4944911813528c77073c262771eae1e8033f2f.tar.bz2 |
#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 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 %} |