Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Originally discussed in #6281, this pull request adds timestamps under the introductory kitty video.
Its purpose is to give a better overview in navigating and comprehending the video.
Timestamps can be edited and expanded upon using
timestamps_source.js
and theARRAY
object intimestamps.js
to get styling.A separate stylesheet is used with the timestamps namespace to differentiate itself from other parts of the code.
conf.py
is modified to include the new files needed to generate the new element and to specify the script being a module to be able to use a separate source file (timestamps_source.js).To mitigate potential security vulnerabilities associated with using innerHTML and similar methods, this pull request intentionally creates and manipulates elements dynamically through JavaScript, ensuring a safer and controlled approach to adding timestamps under the introductory kitty video.
Additionally, this implementation ensures seamless functionality in both light and dark modes, providing a consistent user experience across different viewing environments.
Thanks to @kovidgoyal for the guidance.