-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
JupyterLite in documenation #6500
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
Conversation
Hello @DerThorsten! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2022-08-31 07:55:34 UTC |
Thanks @DerThorsten! I'll try it out it the next few days. :) |
Thank you @DerThorsten ! I also need to read the PR in more details. Right now you can take a look at the built CI doc on https://output.circle-artifacts.com/output/job/60034042-2f07-4163-96d7-57e0b56af094/artifacts/0/doc/build/html/index.html Taking a look at the CI doc, it looks like the output is not displayed (see screenshot below), I guess this is not what is expected? |
Exciting! Thanks for your submission, @DerThorsten. From the Medium post by @jtpio and @martinRenou:
I was curious of what happened with this interactive console, so here I am 🙂
Oh, yes! |
I can't load this at all from the circleci artifacts. The page is very slow and most downloads timeout so the repl does not event start this way.
This is not expected and I hope this is just some issue when loading the page from the circleci artifacts with my local build it looks like this: |
Okay, I have several thoughts on this:
Thinking about this, I'm really wondering if other projects already have statistics about user interaction with JupyterLite (e.g. NumPy's start page) and MyBinder. Btw, this is #6500! 🥳 |
I think this is the kind of widget that works well on a project frontpage, like what NumPy does. For our documentation, I suggest we work on using JupyterLite to make our gallery pages interactive, very much like we do with Binder. |
I'm going to close this in preference of future work done on Sphinx integrations with pyodide. See, e.g., https://blog.holoviz.org/panel_0.14.html#Sphinx-extension Thank you for opening this investigation, @DerThorsten! |
FYI I have opened #6911 that uses sphinx-gallery JupyterLite integration to add a JupyterLite button to each example similarly to what was done in scikit-learn. |
Description
This adds a jupyterlite shell to the documentation which can be tried out on the fly.
Locally this already works fine, maybe it will also work on the CI already.
Atm I put the jupyterlite console at the very beginning of the documentation (probably should be in some subsection)
If you are interested in this I can polish this PR more!
A few thoughts: