summaryrefslogtreecommitdiffstats
path: root/Doc/tools/templates
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2024-05-10 10:24:02 (GMT)
committerGitHub <noreply@github.com>2024-05-10 10:24:02 (GMT)
commit7ac933e2609b2ef9b08ccf9c815b682b0e1ede2a (patch)
tree5f5cfcfa9540041e2afb3943886131d4508d0e59 /Doc/tools/templates
parent7cc5e81a8259fb2e78ed12cbb15ad9e1710f20ed (diff)
downloadcpython-7ac933e2609b2ef9b08ccf9c815b682b0e1ede2a.zip
cpython-7ac933e2609b2ef9b08ccf9c815b682b0e1ede2a.tar.gz
cpython-7ac933e2609b2ef9b08ccf9c815b682b0e1ede2a.tar.bz2
gh-118689: Doc: fix ePub build (#118690)
Diffstat (limited to 'Doc/tools/templates')
-rw-r--r--Doc/tools/templates/layout.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/tools/templates/layout.html b/Doc/tools/templates/layout.html
index 3c12b01..e931147 100644
--- a/Doc/tools/templates/layout.html
+++ b/Doc/tools/templates/layout.html
@@ -42,6 +42,7 @@
</style>
{{ super() }}
+{%- if not embedded %}
<meta name="readthedocs-addons-api-version" content="1">
<script type="text/javascript">
function onSwitch(event) {
@@ -127,4 +128,5 @@
}
});
</script>
+{%- endif %}
{% endblock %}