Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork66
Fix codebgcolor and codetextcolor for Sphinx 3.1.0+#57
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Sphinx 3.1.0+ dropped the custom codebgcolor and codetextcolor from the classictheme[1], leaving pre elements uncolored.[1]sphinx-doc/sphinx@b345acc
Wait, was this change intentional? Just noticed thatPython 3.10 docs, rendered with Sphinx 3.2.1, features background color-less code blocks. In any case I certainly prefer the old style. |
JulienPalard commentedOct 10, 2020 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Looks related tosphinx-doc/sphinx#7720 /sphinx-doc/sphinx#7721 |
Yeah,sphinx-doc/sphinx#7720 led tosphinx-doc/sphinx#7721 led tosphinx-doc/sphinx@b345acc. |
pablogsal commentedDec 19, 2020 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@Mariatta Do you happen to know who has privileges to publish a new version to pypi? We need a new version to restore the colourized backgrounds. |
I can publish this later this evening. |
We've released v 2020.12 |
Thanks a lot@Mariatta! |
Sphinx 3.1.0+ dropped the custom
codebgcolor
andcodetextcolor
from the classic theme (see commitsphinx-doc/sphinx@b345acc), leaving pre elements uncolored.Without the fix:
Should be: