Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
EnronEvolved opened this issue Feb 29, 2024 · 1 comment
Labels
3.8 (EOL) end of life 3.9 only security fixes docs Documentation in the Doc dir

Comments

@EnronEvolved
Copy link

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.

@EnronEvolved EnronEvolved added the docs Documentation in the Doc dir label Feb 29, 2024
@sobolevn sobolevn added 3.9 only security fixes 3.8 (EOL) end of life labels Feb 29, 2024
@hugovk
Copy link
Member

hugovk commented Feb 29, 2024

Thanks for the report.

This is a duplicate of #115349 which has been fixed, and will be deployed when the next 3.8 and 3.9 releases go out, which I think should be quite soon.

In the meantime, you can switch to the light theme, or visit the docs for 3.10 or later.

@hugovk hugovk closed this as not planned Won't fix, can't repro, duplicate, stale Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.8 (EOL) end of life 3.9 only security fixes docs Documentation in the Doc dir
Projects
None yet
Development

No branches or pull requests

3 participants