Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Wulian233 left a comment• edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
My PR added 3.14 in layout.htmlwhich conflicts with the change of this PR
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
This PR makes sense and looks good to me! 👍🏼
PR#119607 will fix the doctest. |
eea26c4
intopython:mainUh oh!
There was an error while loading.Please reload this page.
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 commiteea26c4)Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
GH-119630 is a backport of this pull request to the3.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
|
I'll include this 3.12 backport in the#120348 backport. |
Uh oh!
There was an error while loading.Please reload this page.
Follow on from#116966.
Move the language/version switcher JavaScript from the
layout.html
template, 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/