summaryrefslogtreecommitdiffstats
path: root/Doc/tools/sphinxext/layout.html
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-10-30 07:20:19 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2011-10-30 07:20:19 (GMT)
commitf54f6f520de39197b67b63deb3309ffa97cf55fb (patch)
tree91d934f7a54d23f0880b196310d8eb14cc7d5130 /Doc/tools/sphinxext/layout.html
parentf78869e47eb9e4284e7c4d884e3f1f0ad822aef5 (diff)
downloadcpython-f54f6f520de39197b67b63deb3309ffa97cf55fb.zip
cpython-f54f6f520de39197b67b63deb3309ffa97cf55fb.tar.gz
cpython-f54f6f520de39197b67b63deb3309ffa97cf55fb.tar.bz2
Add a button to the code examples in the doc to show/hide the prompts and output.
Diffstat (limited to 'Doc/tools/sphinxext/layout.html')
-rw-r--r--Doc/tools/sphinxext/layout.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/tools/sphinxext/layout.html b/Doc/tools/sphinxext/layout.html
index a256181..8659ef0 100644
--- a/Doc/tools/sphinxext/layout.html
+++ b/Doc/tools/sphinxext/layout.html
@@ -6,6 +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>
{{ super() }}
{% endblock %}
{% block footer %}