Skip to content

Commit

Permalink
Downgrade jupyter-sphinx to fix readthedocs build (Qiskit#110)
Browse files Browse the repository at this point in the history
Since the introduction of the to_dot() methods in Qiskit#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:
jupyter/jupyter-sphinx#126
This commit fixes this issue by pinning the jupyter sphinx version to
a version that is known working on read the docs.
mtreinish authored Aug 13, 2020
1 parent 69961e4 commit f47a95c
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .conda-rtd-environment.yml
Original file line number Diff line number Diff line change
@@ -8,6 +8,6 @@ dependencies:
- pip
- pip:
- m2r2
- jupyter-sphinx
- jupyter-sphinx==0.2.3
- pydot
- pillow
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@
'sphinx.ext.todo',
'sphinx.ext.viewcode',
'm2r2',
'jupyter_sphinx',
'jupyter_sphinx.execute',
]
html_static_path = ['_static']
templates_path = ['_templates']
2 changes: 1 addition & 1 deletion docs/source/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
m2r2
sphinx
sphinx_rtd_theme
jupyter-sphinx
jupyter-sphinx==0.2.3
pydot
pillow>=4.2.1

0 comments on commit f47a95c

Please sign in to comment.