From f47a95cfc13818ee667edaa73683ab9feb98cc5d Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Thu, 13 Aug 2020 06:24:39 -0400 Subject: [PATCH] Downgrade jupyter-sphinx to fix readthedocs build (#110) Since the introduction of the to_dot() methods in #103 and the use of jupyter-sphinx in the docs, the read the docs builds have been failing. It looks like this is due to: https://github.com/jupyter/jupyter-sphinx/issues/126 This commit fixes this issue by pinning the jupyter sphinx version to a version that is known working on read the docs. --- .conda-rtd-environment.yml | 2 +- docs/source/conf.py | 2 +- docs/source/requirements.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.conda-rtd-environment.yml b/.conda-rtd-environment.yml index 1e07747cb..3a1aac847 100644 --- a/.conda-rtd-environment.yml +++ b/.conda-rtd-environment.yml @@ -8,6 +8,6 @@ dependencies: - pip - pip: - m2r2 - - jupyter-sphinx + - jupyter-sphinx==0.2.3 - pydot - pillow diff --git a/docs/source/conf.py b/docs/source/conf.py index 6acd1d65c..de9f1cc27 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -31,7 +31,7 @@ 'sphinx.ext.todo', 'sphinx.ext.viewcode', 'm2r2', - 'jupyter_sphinx', + 'jupyter_sphinx.execute', ] html_static_path = ['_static'] templates_path = ['_templates'] diff --git a/docs/source/requirements.txt b/docs/source/requirements.txt index c4586494d..2288ef486 100644 --- a/docs/source/requirements.txt +++ b/docs/source/requirements.txt @@ -1,6 +1,6 @@ m2r2 sphinx sphinx_rtd_theme -jupyter-sphinx +jupyter-sphinx==0.2.3 pydot pillow>=4.2.1