Upgrade Sphinx version for Read the Docs (#6477)

This commit is contained in:
SeongSoo Cho 2019-05-08 11:26:34 -04:00 committed by Pradyun Gedam
parent 919ee314fc
commit 17be5bfe81
3 changed files with 3 additions and 2 deletions

1
news/6471.doc Normal file
View File

@ -0,0 +1 @@
Upgrade Sphinx version used to build documentation.

View File

@ -1,4 +1,4 @@
sphinx == 1.7.*
sphinx == 2.0.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

View File

@ -30,7 +30,7 @@ commands = pytest --timeout 300 --cov=pip --cov-report=term-missing --cov-report
[testenv:docs]
# Don't skip install here since pip_sphinxext uses pip's internals.
deps = -r{toxinidir}/tools/docs-requirements.txt
basepython = python2.7
basepython = python3.6
commands =
sphinx-build -W -d {envtmpdir}/doctrees/html -b html docs/html docs/build/html
# Having the conf.py in the docs/html is weird but needed because we