Skip to content

Commit

Permalink
fix docs generation on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
letmaik committed Apr 22, 2017
1 parent b133530 commit d3910db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ after_success:
before_deploy:
# otherwise sphinx would fail
- python setup.py build_ext --inplace
- pip install sphinx
# scipy is imported by lensfunpy.util, but because the util module is not unit-tested scipy is not installed earlier
# sphinx needs scipy in order to import the util module, otherwise it can't generate docs
- pip install sphinx scipy

deploy:
provider: pypi
Expand Down
1 change: 0 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Contents:
.. toctree::
:maxdepth: 2

userguide/index
api/index

Indices and tables
Expand Down

0 comments on commit d3910db

Please sign in to comment.