-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
[DOCS] Notebook examples not rendering properly #6193
Comments
Thanks for opening this issue @choldgraf. I have managed to reproduce this following the same commands found in the readthedocs builds tab.. In comparing environments and docs-specific versions, there were few differences. I've also noticed a couple of other anomalies wrt the doc builds that could probably be cleaned up. I'll go ahead and submit a PR that pins @blink1073 - could you please add me to the readthedocs maintainers? |
Do you think it'd be helpful to do a quick update on the notebook docs to make them more maintainable, and point others in the right direction for other docs resources? I'd be happy to have a quick chat and brainstorm some low-hanging-fruit PRs with you |
I added |
Thank you Steve.
Yes - that would be great. Please feel free to provide PRs. Also, we have a notebook dev meeting every Wednesday at 8:30 PDT on the Jupyter zoom (just prior to the weekly Lab dev meeting). I know it's late notice to join us today, but perhaps next Wednesday? Also, feel free to reach out to me on my GH email and we can set up a quick chat. cc: @Zsailer |
@choldgraf, YES! Big resounding YES! 🤣 I think this would be extremely helpful moving forward. Anything we can do to lessen the maintenance needs on the project would be extremely helpful. I'm happy to hop on a call anytime. |
@Zsailer wanna find a quick time to chat about this in the next few days? I am happy to just pick a time and post a jitsi link as well in case others would like to chat. My schedule is pretty free, esp during nap times 😅 I think for me, the goals for this would be to
That kinda thing |
Reopening because the Sphinx build is failing :-( Here's the exception:
|
Thanks @choldgraf - that's the right thing to do. I'm unable to reproduce this locally or via CI. Even the RTD build in the PR was successful: https://jupyter-notebook--6194.org.readthedocs.build/en/6194/. Looking at the raw RTD logs for the most recent failure vs. the most recent success I see that the only "version difference" in the installed packages is This implies that the changes in #6194 to pin Therefore, since the |
@mgeier - thank you for looking into this (and so quickly!!) - it's much appreciated! |
No problem, I love to help! Just as an explanation: Since spatialaudio/nbsphinx#578, |
@kevin-bates and @mgeier HUGE HUGE THANKS for helping sort this one out again :-) |
@mgeier - I have a couple of questions for you...
|
If somebody makes me an admin on the readthedocs site i can also try to debug |
I'd be happy to - is your RTD account name (Looks that way - confirmed after adding. 😄 ) |
@kevin-bates OK I think I've deleted one of the webhooks so we should only get one build per merge instead of two...we can re-sync it if the builds are broken somehow. I've also triggered another build on master to see if the environment has updated |
Looking again at the build logs, I think that the issue here is that the build failure is on the latex generation build. The HTML build works just fine, but the latex generation build is causing the problem: https://readthedocs.org/projects/jupyter-notebook/builds/14965870/ I suspect that we don't get errors in the PR previews because they only generate HTML assets, not pdf/latex as well. I'm re-opening this because it's still an issue until we fix those Latex builds. Is anybody opposed to simply configuring ReadTheDocs not to build PDFs of the docs? I think this would affect some readers, but probably not as many as having all of the example notebooks non-functional. |
The "Verbatim" problem is happening when using Sphinx >= 4.1.0 AND nbsphinx < 0.8.7. That's why I removed the |
Yeah, that's a pity (but understandable, because it would cause a significant additional load on RTD). I would recommend to add a PDF build to CI (using Github Actions or CircleCI or whatever) to check the PDF build on each PR.
LaTeX/PDF support is already underrepresented, so it would be really nice to keep it. I've invested significant effort in keeping LaTeX/PDF support working in |
@mgeier hmmm so what is the fix here? Pin to Sphinx <4.1 until a patch is released in nbsphinx that lets us bump the version back up? |
crossed posts: @choldgraf - let's see where #6201 leaves us first. |
Sorry, I didn't realize that you are using |
yahoo! it works now :-) |
Many thanks @kevin-bates and @mgeier for quick turnarounds this latest round of fixes 🙂 |
Description
Between version
v5.7.6
and thestable
, the notebook examples section has become broken. For example:v5.7.6
stable
It looks like the notebook
.ipynb
files are being parsed as raw text, rather than parsed properly bynbsphinx
.I tried getting a dev environment set up to debug this, but
pip install .
wasn't working because I ran into the errorerror: [Errno 2] No such file or directory: 'bower'
. So opening this issue to track it.The notebook examples are at the link below, and I suspect the fix will need to be somewhere around there, or in the Sphinx configuration:
https://github.com/jupyter/notebook/tree/master/docs/source/examples/Notebook
Originally reported in https://discourse.jupyter.org/t/error-in-jupyter-readthedocs-page-rendering/11038
The text was updated successfully, but these errors were encountered: