diff --git a/docs/html/conf.py b/docs/html/conf.py
index bd44b9bff9d..2ef2647ce72 100644
--- a/docs/html/conf.py
+++ b/docs/html/conf.py
@@ -143,7 +143,9 @@
'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.
diff --git a/docs/html/development/architecture/configuration-files.rst b/docs/html/development/architecture/configuration-files.rst
index ce0ef40ee27..2f96ea5ca50 100644
--- a/docs/html/development/architecture/configuration-files.rst
+++ b/docs/html/development/architecture/configuration-files.rst
@@ -109,6 +109,7 @@ manipulated. In addition to the methods discussed in the previous section,
the methods used would be:
.. py:class:: Configuration
+ :noindex:
.. py:method:: get_file_to_edit()
diff --git a/news/629892ca-55da-4ca9-9cff-c15373e97ad1.trivial b/news/629892ca-55da-4ca9-9cff-c15373e97ad1.trivial
new file mode 100644
index 00000000000..e69de29bb2d
diff --git a/tools/requirements/docs.txt b/tools/requirements/docs.txt
index acbd3390631..267d5b1ddfb 100644
--- a/tools/requirements/docs.txt
+++ b/tools/requirements/docs.txt
@@ -1,4 +1,4 @@
-sphinx == 2.4.3
+sphinx == 3.2.1
git+https://github.com/python/python-docs-theme.git#egg=python-docs-theme
git+https://github.com/pypa/pypa-docs-theme.git#egg=pypa-docs-theme