Skip to content

Commit c4197f1

Browse files
authored
fix(ci): failing readthedocs build #554
Ref #552
1 parent da0970e commit c4197f1

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.readthedocs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ python:
2121
- method: pip
2222
path: .
2323
extra_requirements:
24-
- sphinx-rtd-theme
24+
- docs # pip install .[docs]

setup.py

+6
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,14 @@
2323
'pytest_timeout',
2424
]
2525

26+
docs_require = [
27+
'sphinx',
28+
'sphinx-rtd-theme',
29+
]
30+
2631
extras_require = {
2732
'test': tests_require,
33+
'docs': docs_require,
2834
}
2935

3036
if platform.python_implementation() != 'PyPy':

tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ commands =
4949

5050
[testenv:docs]
5151
deps =
52-
Sphinx
53-
sphinx_rtd_theme
52+
sphinx
53+
sphinx-rtd-theme
5454
changedir = {toxinidir}/docs
5555
commands =
5656
sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html

0 commit comments

Comments
 (0)