-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sphinx documentation build fails on Windows 10 when using jupyter-sphinx extension #171
Comments
The linter warning is about registering a directive with docuitls, and I don't think it's related to the build error, can you please open a separate issue for that one? |
Ok, will do. |
The first problem seems to be due to limitations of nbclient on windows. Can you please install the latest nbconvert, and try running If you observe the same failure, then please open an issue in the https://github.com/jupyter/nbclient repository. I'm unfortunately unable to do that myself due to the lack of a windows environment. |
It appears nbconvert is already installed to latest version in my case
Created a test.ipynb with a print statement in it. The command
|
Sorry, it should be |
Ok, I did think of
|
Sorry again (should really not write these from memory) |
No problem :)
|
This seems to be related to this bug. The following workaround worked for me. Just put in the top of your conf.py file.
|
Description
Sphinx documentation fails to build on Windows 10 when jupyter-sphinx extension is used to embed python code in the documentation.
Setup:
Windows 10
conda 4.8.3
Python 3.8.6
sphinx 3.3.1
jupyter-sphinx 0.3.2
Steps to reproduce
docs
and generate the basic sphinx documentation template inside it.Note: The build log pasted above throws a warning that suggests to replace
jupyter_sphinx.execute
withjupyter_sphinx
. Documentation was rebuilt after making the change but the issue still exists.The text was updated successfully, but these errors were encountered: