We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da0970e commit c4197f1Copy full SHA for c4197f1
.readthedocs.yml
@@ -21,4 +21,4 @@ python:
21
- method: pip
22
path: .
23
extra_requirements:
24
- - sphinx-rtd-theme
+ - docs # pip install .[docs]
setup.py
@@ -23,8 +23,14 @@
'pytest_timeout',
]
25
26
+docs_require = [
27
+ 'sphinx',
28
+ 'sphinx-rtd-theme',
29
+]
30
+
31
extras_require = {
32
'test': tests_require,
33
+ 'docs': docs_require,
34
}
35
36
if platform.python_implementation() != 'PyPy':
tox.ini
@@ -49,8 +49,8 @@ commands =
49
50
[testenv:docs]
51
deps =
52
- Sphinx
53
- sphinx_rtd_theme
+ sphinx
+ sphinx-rtd-theme
54
changedir = {toxinidir}/docs
55
commands =
56
sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
0 commit comments