From df0718c44624dce6493ab294b62954441e76feb0 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Wed, 10 May 2023 16:46:37 +0300 Subject: [PATCH] gh-103960: Dark mode: invert image brightness (GH-103983) (cherry picked from commit 13ac1766bca7969a6c142c9176db901dd29c3519) Co-authored-by: Hugo van Kemenade --- Doc/howto/logging.rst | 1 + Doc/library/hashlib.rst | 1 + Doc/library/pathlib.rst | 1 + 3 files changed, 3 insertions(+) diff --git a/Doc/howto/logging.rst b/Doc/howto/logging.rst index e2cf1b4fc392d9..f3ed98fd85a077 100644 --- a/Doc/howto/logging.rst +++ b/Doc/howto/logging.rst @@ -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 ^^^^^^^ diff --git a/Doc/library/hashlib.rst b/Doc/library/hashlib.rst index bea862d7967cac..034b23c5364c9a 100644 --- a/Doc/library/hashlib.rst +++ b/Doc/library/hashlib.rst @@ -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 `_ for comprehensive review of tree diff --git a/Doc/library/pathlib.rst b/Doc/library/pathlib.rst index abdeea248a319d..974ab424a57f54 100644 --- a/Doc/library/pathlib.rst +++ b/Doc/library/pathlib.rst @@ -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