mirror of https://github.com/pypa/pip
Upgrade Sphinx version for Read the Docs (#6477)
This commit is contained in:
parent
919ee314fc
commit
17be5bfe81
|
@ -0,0 +1 @@
|
|||
Upgrade Sphinx version used to build documentation.
|
|
@ -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
|
||||
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue