Commits

Ezio Melotti  committed b585c33

#14114: don't include copybutton.js in the htmlhelp output.

  • Participants
  • Parent commits 7615f49
  • Branches 3.2

Comments (0)

Files changed (1)

File Doc/tools/sphinxext/layout.html

 {% 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 %}