From 03abac239cbd94962e44a5ae06ff583de6917f80 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Wed, 10 May 2023 07:19:38 -0700 Subject: [3.11] gh-103960: Dark mode: invert image brightness (GH-103983) (#104358) 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 e2cf1b4..f3ed98f 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 bea862d..034b23c 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 abdeea2..974ab42 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 -- cgit v0.12