Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ci/requirements-2.7_DOC_BUILD.run
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
ipython
ipykernel
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can just include notebook and get all of the deps

sphinx
nbconvert
nbformat
notebook
matplotlib
scipy
lxml
Expand Down
3 changes: 2 additions & 1 deletion doc/make.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@ def html():
executed = execute_nb(nb, nb + '.executed', allow_errors=True,
kernel_name=kernel_name)
convert_nb(executed, nb.rstrip('.ipynb') + '.html')
except (ImportError, IndexError):
except (ImportError, IndexError) as e:
print(e)
print("Failed to convert %s" % nb)

if os.system('sphinx-build -P -b html -d build/doctrees '
Expand Down