diff --git a/ci/requirements-2.7_DOC_BUILD.run b/ci/requirements-2.7_DOC_BUILD.run index 507ce9ea5aac5..b87a41df4191d 100644 --- a/ci/requirements-2.7_DOC_BUILD.run +++ b/ci/requirements-2.7_DOC_BUILD.run @@ -1,7 +1,9 @@ ipython +ipykernel sphinx nbconvert nbformat +notebook matplotlib scipy lxml diff --git a/doc/make.py b/doc/make.py index 8e7b1d95dbafb..d46be2611ce3d 100755 --- a/doc/make.py +++ b/doc/make.py @@ -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 '