From 197546f400fd1164a87ea20e35c0fcbe331661cb Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Sat, 10 Oct 2020 11:09:49 +0800 Subject: [PATCH] Fix codebgcolor and codetextcolor for Sphinx 3.1.0+ Sphinx 3.1.0+ dropped the custom codebgcolor and codetextcolor from the classic theme[1], leaving pre elements uncolored. [1] https://github.com/sphinx-doc/sphinx/commit/b345acc2840a792162845e3a1a3456c347fac08e --- python_docs_theme/theme.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python_docs_theme/theme.conf b/python_docs_theme/theme.conf index 22762ec..bffa8c1 100644 --- a/python_docs_theme/theme.conf +++ b/python_docs_theme/theme.conf @@ -21,6 +21,8 @@ visitedlinkcolor = #00608f headtextcolor = #1a1a1a headbgcolor = white headlinkcolor = #aaaaaa +codebgcolor = #eeffcc +codetextcolor = #333333 issues_url = root_name = Python