From 4e34f6530a97ca16ee524f5ac97b90fa46475e26 Mon Sep 17 00:00:00 2001 From: Srinivas Nyayapati Date: Thu, 20 Aug 2020 12:24:58 -0400 Subject: [PATCH] add theme config to set background color and text color for code-blocks --- docs/html/conf.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/html/conf.py b/docs/html/conf.py index bd44b9bff..2ef2647ce 100644 --- a/docs/html/conf.py +++ b/docs/html/conf.py @@ -143,7 +143,9 @@ html_theme_options = { 'collapsiblesidebar': True, 'externalrefs': True, 'navigation_depth': 3, - 'issues_url': 'https://github.com/pypa/pip/issues' + 'issues_url': 'https://github.com/pypa/pip/issues', + 'codebgcolor': '#eeffcc', + 'codetextcolor': '#333333', } # Add any paths that contain custom themes here, relative to this directory.