]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-103960: Dark mode: invert image brightness (#103983)
authorHugo van Kemenade <hugovk@users.noreply.github.com>
Wed, 10 May 2023 13:46:37 +0000 (16:46 +0300)
committerGitHub <noreply@github.com>
Wed, 10 May 2023 13:46:37 +0000 (16:46 +0300)
Doc/howto/logging.rst
Doc/library/hashlib.rst
Doc/library/pathlib.rst

index 145449b2dfbd9fc35083237add093bae938c4451..a72e9a820ef347388a4c361d23246d7684f6b21e 100644 (file)
@@ -418,6 +418,7 @@ The flow of log event information in loggers and handlers is illustrated in the
 following diagram.
 
 .. image:: logging_flow.png
+   :class: invert-in-dark-mode
 
 Loggers
 ^^^^^^^
index 6275f96f7d4d1988dc8c1d8b40265800983f26d1..797870b9d7e260ab3a14572c8989ad7d17e36b94 100644 (file)
@@ -430,6 +430,7 @@ Constructor functions also accept the following tree hashing parameters:
 
 .. figure:: hashlib-blake2-tree.png
    :alt: Explanation of tree mode parameters.
+   :class: invert-in-dark-mode
 
 See section 2.10 in `BLAKE2 specification
 <https://www.blake2.net/blake2_20130129.pdf>`_ for comprehensive review of tree
index 5ffa33d4e61f198fc62a4b30ec5071b679ad7d86..93af07ae5ac10f1708237d9fbd2d7e4f1f9d312d 100644 (file)
@@ -21,6 +21,7 @@ inherit from pure paths but also provide I/O operations.
 
 .. image:: pathlib-inheritance.png
    :align: center
+   :class: invert-in-dark-mode
 
 If you've never used this module before or just aren't sure which class is
 right for your task, :class:`Path` is most likely what you need. It instantiates