Use a docs-requirements.txt for RTD

This commit is contained in:
Hynek Schlawack 2017-05-16 18:23:12 +02:00
parent b988a85895
commit 617e443cef
3 changed files with 5 additions and 4 deletions

View File

@ -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

3
docs-requirements.txt Normal file
View File

@ -0,0 +1,3 @@
-e .
sphinx<1.6
zope.interface

View File

@ -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