Use a docs-requirements.txt for RTD
This commit is contained in:
parent
b988a85895
commit
617e443cef
|
@ -4,7 +4,7 @@ include LICENSE *.rst
|
||||||
exclude *.md .travis.yml
|
exclude *.md .travis.yml
|
||||||
|
|
||||||
# Tests
|
# Tests
|
||||||
include tox.ini .coveragerc conftest.py dev-requirements.txt
|
include tox.ini .coveragerc conftest.py dev-requirements.txt docs-requirements.txt
|
||||||
recursive-include tests *.py
|
recursive-include tests *.py
|
||||||
|
|
||||||
# Documentation
|
# Documentation
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
-e .
|
||||||
|
sphinx<1.6
|
||||||
|
zope.interface
|
4
tox.ini
4
tox.ini
|
@ -27,9 +27,7 @@ commands = flake8 src tests setup.py conftest.py docs/conf.py
|
||||||
basepython = python3.6
|
basepython = python3.6
|
||||||
setenv =
|
setenv =
|
||||||
PYTHONHASHSEED = 0
|
PYTHONHASHSEED = 0
|
||||||
deps =
|
deps = -rdocs-requirements.txt
|
||||||
sphinx<1.6
|
|
||||||
zope.interface
|
|
||||||
commands =
|
commands =
|
||||||
sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
|
sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
|
||||||
sphinx-build -W -b doctest -d {envtmpdir}/doctrees docs docs/_build/html
|
sphinx-build -W -b doctest -d {envtmpdir}/doctrees docs docs/_build/html
|
||||||
|
|
Loading…
Reference in New Issue