PEP 495 and 732: Add alt text to images (#3606)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
Hugo van Kemenade 2024-01-11 18:25:09 +02:00 committed by GitHub
parent 887cdaa552
commit 6b226b1ae9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 0 deletions

View File

@ -37,6 +37,10 @@ will enumerate the two ambiguous times.
.. image:: pep-0495-daylightsavings.png
:align: center
:alt: A cartoon of a strong man struggling to stop the hands of a large clock.
The caption reads: You can't stop time... but you can turn it back one
hour at 2 a.m. Oct. 28 when daylight-saving time ends and standard time
begins."
:width: 30%
@ -386,6 +390,8 @@ the ``fold`` attribute depending on the kind of the transition.
.. image:: pep-0495-fold.svg
:align: center
:alt: Diagram of relationship between UTC and local time around a
fall-back transition see full description on page.
:width: 60%
:class: invert-in-dark-mode
@ -412,6 +418,8 @@ effect after the transition should be used.
.. image:: pep-0495-gap.svg
:align: center
:alt: Diagram of relationship between UTC and local time around a
spring-forward transition see full description on page.
:width: 60%
:class: invert-in-dark-mode

View File

@ -35,7 +35,13 @@ development community and the greater Python documentation
contributors work together to achieve this:
.. image:: pep-0732-concentric.drawio.svg
:align: center
:alt: Three concentric circles. At the centre: Documentation Editorial
Board, trusted group. Around this: Documentation Working Group,
volunteers who contribute to the docs. Finally, the outer circle
is the world, includes readers of the documentation.
:class: invert-in-dark-mode
:width: 75%
Specification