From d3910db842fac1c64d7891c769a7792b1a41a693 Mon Sep 17 00:00:00 2001 From: Maik Riechert Date: Sat, 22 Apr 2017 19:13:50 +0100 Subject: [PATCH] fix docs generation on travis --- .travis.yml | 4 +++- docs/index.rst | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index c1cc0b9..194b32d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/docs/index.rst b/docs/index.rst index 5d768e5..b502a4e 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -6,7 +6,6 @@ Contents: .. toctree:: :maxdepth: 2 - userguide/index api/index Indices and tables