]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] gh-103960: Dark mode: invert image brightness (GH-103983) (#104358)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 10 May 2023 14:19:38 +0000 (07:19 -0700)
committerGitHub <noreply@github.com>
Wed, 10 May 2023 14:19:38 +0000 (14:19 +0000)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Doc/howto/logging.rst
Doc/library/hashlib.rst
Doc/library/pathlib.rst

index e2cf1b4fc392d9c5248989815fd8e33a0390fee9..f3ed98fd85a077201cbf538c5c4041ded708efb9 100644 (file)
@@ -415,6 +415,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 bea862d7967caca6bfb36a091f12968dd3621d67..034b23c5364c9aa778ac6a591d8c3fb8c2f00089 100644 (file)
@@ -436,6 +436,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 abdeea248a319d41b7775107db429b7bc435b6c5..974ab424a57f5402fe67a9b39441a8dc8820e8a5 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