Visitar URL original
Code blocks in some older versions of Python docs do not respect dark mode properly · Issue #116140 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20260306080128/https://github.com/python/cpython/issues/116140
Skip to content
/ cpython Public

Code blocks in some older versions of Python docs do not respect dark mode properly #116140

@EnronEvolved

Description

@EnronEvolved

Documentation

I was looking through the Python documentation today, for my system's installed version of Python, and found an eye-searing issue with the documentation on the latest version of Firefox:

When viewing the latest version, everything's fine:
noeyepain

However, viewing a previous version, the colours used in code blocks seem to be a strange hybrid of light and dark theming that is unreadable without highlighting the code:
eyepain

Doing a little investigation, the error seems to be present on versions 3.8 and 3.9.

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.8 (EOL)end of life3.9 (EOL)end of lifedocsDocumentation in the Doc dir

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions