From ce85775155df227dec3bb3992db64a5f239861dc Mon Sep 17 00:00:00 2001 From: Srinivas Nyayapati Date: Thu, 20 Aug 2020 07:47:36 -0400 Subject: [PATCH 1/3] Bump Sphinx to v3.1.2 and fix rst issues --- docs/html/development/architecture/configuration-files.rst | 1 + news/629892ca-55da-4ca9-9cff-c15373e97ad1.trivial | 0 tools/requirements/docs.txt | 2 +- 3 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 news/629892ca-55da-4ca9-9cff-c15373e97ad1.trivial 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..e787ceca6bc 100644 --- a/tools/requirements/docs.txt +++ b/tools/requirements/docs.txt @@ -1,4 +1,4 @@ -sphinx == 2.4.3 +sphinx == 3.1.2 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 From e51de6ecb40203f733734ec6957505abcf7fac34 Mon Sep 17 00:00:00 2001 From: Srinivas Nyayapati Date: Thu, 20 Aug 2020 07:54:34 -0400 Subject: [PATCH 2/3] Bump to latest version 3.2.1 --- tools/requirements/docs.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/requirements/docs.txt b/tools/requirements/docs.txt index e787ceca6bc..267d5b1ddfb 100644 --- a/tools/requirements/docs.txt +++ b/tools/requirements/docs.txt @@ -1,4 +1,4 @@ -sphinx == 3.1.2 +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 From 4e34f6530a97ca16ee524f5ac97b90fa46475e26 Mon Sep 17 00:00:00 2001 From: Srinivas Nyayapati Date: Thu, 20 Aug 2020 12:24:58 -0400 Subject: [PATCH 3/3] 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 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.