Conversation
Co-authored-by: Matt Fisher <3608264+mfisher87@users.noreply.github.com>
Should it be |
|
Now it looks like your conda environment isn't being installed 😖 I'm not 100% sure why. It looks like you did everything right. Personally, I struggle to remember the implicit behaviors in the RTD build environment so I often fully override the build process like this: https://github.com/geojupyter/geojupyter.org/blob/main/.readthedocs.yaml This is more explicit and IMO more understandable. |
.readthedocs.yml
Outdated
| - conda env create --name festim-workshop-jupyter2 --file environment.yml | ||
| # - cd book | ||
| # - conda run -n festim-workshop-jupyter2 python -m jupyter book start | ||
| - conda run -n festim-workshop-jupyter2 bash -c "cd book && python -m jupyter book build --html" |
There was a problem hiding this comment.
| - conda run -n festim-workshop-jupyter2 bash -c "cd book && python -m jupyter book build --html" | |
| - conda run -n festim-workshop-jupyter2 bash -c "cd book && HOST="127.0.0.1" python -m jupyter book build --html" |
This should get you around the ECONNREFUSED errors. Let me know if this doesn't help.
.readthedocs.yml
Outdated
| - ls | ||
| - mkdir -p $READTHEDOCS_OUTPUT/html | ||
| - ls | ||
| - cp -r _build/html/* $READTHEDOCS_OUTPUT/html/ No newline at end of file |
There was a problem hiding this comment.
| - cp -r _build/html/* $READTHEDOCS_OUTPUT/html/ | |
| - cp -r book/_build/html/* $READTHEDOCS_OUTPUT/html/ |
Adding this back in since cd book is now commented out :)
book/myst.yml
Outdated
| logo: images/logo_light.png | ||
| logo_dark: images/logo_dark.svg | ||
| folders: true | ||
| template: book-theme |
There was a problem hiding this comment.
| template: book-theme | |
| template: "https://github.com/myst-templates/book-theme/archive/de4c1e9c09c6cd12fc529c1f22e8abf8e7f35381.zip" |
This should hopefully resolve the ECONNREFUSED error! You should probably revert this after the next JB2 release.
|
Yay! |
|
Sorry I'm viewing this on my phone but it seems the pyvista plots are not rendered properly? Great that we got this far! |
|
Hmm yeah it doesn't look like they're loading, I can look into it |
|
@ck768 @mfisher87 it seems like myst cannot render pyvista plots jupyter-book/mystmd#449
Although it seems to be possible here: pyvista/pyvista#6189 |
|
It seems like we need to wait for these issues to be fixed before pushing this further: |
|
Apologies for missing your last message. You indeed found the right issues :) |
No worries! we put this on the back burner anyway since the jupyterbook 1 version is grand for what we want to do |

testing out the upgrade to Jupyter 2