File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -21,4 +21,4 @@ python:
2121 - method : pip
2222 path : .
2323 extra_requirements :
24- - sphinx-rtd-theme
24+ - docs # pip install .[docs]
Original file line number Diff line number Diff line change 2323 'pytest_timeout' ,
2424]
2525
26+ docs_require = [
27+ 'sphinx' ,
28+ 'sphinx-rtd-theme' ,
29+ ]
30+
2631extras_require = {
2732 'test' : tests_require ,
33+ 'docs' : docs_require ,
2834}
2935
3036if platform .python_implementation () != 'PyPy' :
Original file line number Diff line number Diff line change @@ -49,8 +49,8 @@ commands =
4949
5050[testenv:docs]
5151deps =
52- Sphinx
53- sphinx_rtd_theme
52+ sphinx
53+ sphinx-rtd-theme
5454changedir = {toxinidir}/docs
5555commands =
5656 sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
You can’t perform that action at this time.
0 commit comments