Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upFix 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.
|
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 |
|
Yeah, sphinx-doc/sphinx#7720 led to sphinx-doc/sphinx#7721 led to sphinx-doc/sphinx@b345acc. |
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: