Uh oh!
There was an error while loading. Please reload this page.
Fix codebgcolor and codetextcolor for Sphinx 3.1.0+ - #57
Conversation
Sphinx 3.1.0+ dropped the custom codebgcolor and codetextcolor from the classic theme[1], leaving pre elements uncolored. [1] sphinx-doc/sphinx@b345acc
See python/python-docs-theme#57. Also blacken.
zmwangx
commented
Oct 10, 2020
Wait, was this change intentional? Just noticed that Python 3.10 docs, rendered with Sphinx 3.2.1, features background color-less code blocks. In any case I certainly prefer the old style. |
Looks related to sphinx-doc/sphinx#7720 / sphinx-doc/sphinx#7721 |
zmwangx
commented
Oct 10, 2020
Yeah, sphinx-doc/sphinx#7720 led to sphinx-doc/sphinx#7721 led to sphinx-doc/sphinx@b345acc. |
corona10
commented
Oct 17, 2020
@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. |
Mariatta
commented
Dec 19, 2020
I can publish this later this evening. |
Mariatta
commented
Dec 22, 2020
We've released v 2020.12 |
pablogsal
commented
Dec 22, 2020
Thanks a lot @Mariatta! |
Sphinx 3.1.0+ dropped the custom
codebgcolorandcodetextcolorfrom the classic theme (see commit sphinx-doc/sphinx@b345acc), leaving pre elements uncolored.Without the fix:
Should be: