Uh oh!
There was an error while loading. Please reload this page.
Docs: Move inline JavaScript to own file to reduce duplication - #119541
Conversation
Uh oh!
There was an error while loading. Please reload this page.
humitos
left a comment
There was a problem hiding this comment.
This PR makes sense and looks good to me! 👍🏼
hugovk
commented
May 27, 2024
PR #119607 will fix the doctest. |
Thanks @hugovk for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13. |
Sorry, @hugovk, I could not cleanly backport this to |
…pythonGH-119541) (cherry picked from commit eea26c4) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
GH-119630 is a backport of this pull request to the 3.13 branch. |
Thanks @hugovk for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Sorry, @hugovk, I could not cleanly backport this to |
hugovk
commented
Jun 16, 2024
I'll include this 3.12 backport in the #120348 backport. |
Follow on from #116966.
Move the language/version switcher JavaScript from the
layout.htmltemplate, which meant it was included in the header of every page, and into its own JavaScript file to reduce duplication.This reduces the size of the entire docs HTML (
Doc/build/html) from 69.7 MB to 68.2 MB.cc @humitos
📚 Documentation preview 📚: https://cpython-previews--119541.org.readthedocs.build/