Skip to content

Commit 9730290

Browse files
committed
Control included JavaScript in templates
1 parent 12d9083 commit 9730290

File tree

1 file changed

+4
-0
lines changed
  • pep_sphinx_extensions/theme/static/templates

1 file changed

+4
-0
lines changed

pep_sphinx_extensions/theme/static/templates/layout.html

+4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
<link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />
1515
{%- endblock %}
1616

17+
{%- block scripts %}
18+
<script src="{{ pathto('_static/js/doctools.js', 1) }}"></script>
19+
{%- endblock %}
20+
1721
{%- block body_tag %}<body class="python pages pep-page">{% endblock %}
1822
{%- block header %}<header style="height: 219px; background-color: #2b5b84;"></header>{% endblock %}
1923
{%- block relbar1 %}{% endblock %}

0 commit comments

Comments
 (0)