Skip to content

Commit 08531b0

Browse files
committed
infra: upgrade Sphinx to 3.1.1
This commit also consolidates the doc dependencies to doc/requirements.txt, removes some unnecessary dependencies, and upgrades sphinx-rtd-theme to 0.5.0.
1 parent eeb71ae commit 08531b0

File tree

2 files changed

+2
-18
lines changed

2 files changed

+2
-18
lines changed

doc/requirements.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
sphinx==2.2.2
2-
numpy
3-
scipy
4-
requests==2.20
1+
sphinx==3.1.1
2+
sphinx-rtd-theme==0.5.0

tox.ini

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -98,20 +98,6 @@ commands =
9898
[testenv:sphinx]
9999
basepython = python3
100100
changedir = doc
101-
# Based on: https://github.com/rtfd/readthedocs.org/blob/8f0c78dde5edcc85acf90462a8518735a25482d3/readthedocs/doc_builder/python_environments.py#L263
102-
install_command = python -m pip install --upgrade -I {packages}
103-
# Based on: https://github.com/rtfd/readthedocs.org/blob/8f0c78dde5edcc85acf90462a8518735a25482d3/readthedocs/doc_builder/python_environments.py#L280
104-
deps =
105-
Pygments==2.2.0
106-
setuptools<40
107-
docutils==0.13.1
108-
mock==1.0.1
109-
alabaster>=0.7,<0.8,!=0.7.5
110-
commonmark==0.5.4
111-
recommonmark==0.4.0
112-
sphinx<1.8
113-
sphinx-rtd-theme<0.5
114-
readthedocs-sphinx-ext<0.6
115101
# pip install requirements.txt is separate as RTD does it in separate steps
116102
# having the requirements.txt installed in deps above results in Double Requirement exception
117103
# https://github.com/pypa/pip/issues/988

0 commit comments

Comments
 (0)