8000 Docs: Move inline JavaScript to own file to reduce duplication by hugovk · Pull Request #119541 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Docs: Move inline JavaScript to own file to reduce duplication #119541

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
May 27, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update indent to match existing
  • Loading branch information
hugovk committed May 25, 2024
commit 622fdc75a36274250be1945d021b36d488ffe025
4 changes: 2 additions & 2 deletions Doc/tools/templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
{{ super() }}

{%- if not embedded %}
<script type="text/javascript" src="{{ pathto('_static/rtd_switcher.js', 1) }}"></script>
<meta name="readthedocs-addons-api-version" content="1">
<script type="text/javascript" src="{{ pathto('_static/rtd_switcher.js', 1) }}"></script>
<meta name="readthedocs-addons-api-version" content="1">
{%- endif %}
{% endblock %}
0