Repository navigation
gh-162388: Use animated SVGs for the Tachyon live screenshots - #162391
Conversation
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
8cdb3e8 to
d5194b0
Compare
Documentation build overview
14 files changed ·
|
hugovk
left a comment
There was a problem hiding this comment.
Before: https://docs.python.org/3/library/profiling.sampling.html#live-mode
After: https://cpython-previews--162391.org.readthedocs.build/en/162391/library/profiling.sampling.html#live-mode
Much clearer :)
I also checked the EPUB, and in the Mac Books.app, it also animates there! (animation not shown in static screenshot)
d5194b0 to
9f4b63a
Compare
|
Tip for next time: we squash merge here, so no need to force push for tidy commit messages. And new incremental commits are easier to review, especially for larger PRs. |
pablogsal
left a comment
There was a problem hiding this comment.
I checked both figures in the docs preview with reduced motion enabled. Both stay still. I can read the function table and the opcode panel at the normal page width. Looks good to me.
|
Thanks @kdeldycke for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.15. |
|
GH-162638 is a backport of this pull request to the 3.15 branch. |
This PR replace the Tachyon GIFs by animated SVGs in the documentation as discussed in #162388.
Which reduce the size of these assets:
tachyon-live-mode-1tachyon-live-mode-2.tar.xzThe result can be seen at: https://cpython-previews--162391.org.readthedocs.build/en/162391/library/profiling.sampling.html#live-mode
Being SVGs, they also renders sharp and are scalable at any resolution.
These assets have been rendered with these
click-extrainvokations (a project I am maintaining for more than 5 years):For
tachyon-live-mode-1.svg:For
tachyon-live-mode-2.svg: