Skip to content

Commit

Permalink
Unbreak RTD
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Osvaldo Barrera committed May 30, 2017
1 parent 1063b8b commit e967b68
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions requirements-docs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sphinx_autorun
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
setup_requires=['setuptools_scm', 'pytest-runner'],
tests_require=open('requirements-dev.txt').readlines(),
extras_require={
'docs': ['sphinx_autorun'],
'docs': open('requirements-docs.txt').readlines(),
},
classifiers=[
'Development Status :: 4 - Beta',
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ commands = flake8

[testenv:docs]
basepython = python3
extras = docs
whitelist_externals =
make
# These two steps imitate RTD as best as possible.
commands =
pip install -rrequirements-docs.txt
make -C docs html

[flake8]
Expand Down

0 comments on commit e967b68

Please sign in to comment.