-
-
Notifications
You must be signed in to change notification settings - Fork 486
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
Tracking issue for adding interactive documentation #706
Comments
Every push to
That may be simplified by this just-merged Meson feature: mesonbuild/meson@524a661. It'll only be available once 1.4.0 comes out. You could already try locally though whether you can make that work. Note that it would need a |
Thanks, a 1.4.0 non-RC release for Meson should be out in a week or so when we should be able to do this. A I am more concerned about how we would make Read the Docs work with what we are intending to do – I suppose only the process of the implementation can tell what things end up being feasible. |
It's purely client-side, so probably fine on RTD. Switching to GitHub Pages would also be pretty straightforward if needed. |
I opened scientific-python/upload-nightly-action#75 to request access to upload to https://anaconda.org/scientific-python-nightly-wheels/repo. |
I'll note that that anaconda.org bucket cleans up nightlies older than 30 days. So how about on every push to |
Yes, that should be fair enough – we would want at least one wheel being uploaded before other ones get cleaned up |
Next step is actually getting started with interactive documentation. We already have the usage examples – how should we go ahead? Should I convert them to notebooks as I mentioned above? |
Guess we're getting closer, 4 out of 7 done. I'm starting to prepare the 1.6.0 release. I think we can probably get the "Try Examples" in before that is final (in 2 weeks or so). |
It is not necessary to convert them to notebooks. The |
Just adding a comment here to update things: I assume this has been checked out and #731 should now bring v1.6.0 with some new examples. The Emscripten and Pyodide versions are not decoupled at the time of writing, so we won't have v1.6.0 WASM wheels until there is a new version of Pyodide, but it should be okay since there have been no previous API changes as discussed earlier. I have updated the checklist to showcase the most recent scenario. The next task to check off would be to keep investigating the CORS headers issue. We recently merged jupyterlite/jupyterlite-sphinx#161, and a release for |
From #737 (comment), the "Usage Examples" section is now being worked on; it can be targeted for a v1.6.1 milestone/release. |
Note to self: jupyterlite/jupyterlite#461 might be useful; I hope it is added to the Pyodide kernel. It might be possible to write a custom JupyterLite kernel for this such as https://github.com/jobovy/jupyterlite-repl-prerun. |
Description
This is an issue to collect tasks for adding interactive documentation to PyWavelets via JupyterLite kernels/notebooks.
Proposal
pydata-sphinx-theme
(DOC: Migrate topydata-sphinx-theme
#704)emscripten_X_Y_wasm32
platform tags)master
, rather?),while configuring versioning to include git hashes or dates(Upload dev builds for all supported platforms to anaconda.org #712, Upload dev wheels to Anaconda.org + revamp wheels publishing workflow #714)jupyterlite-sphinx
and buttons based on screen size1 to provide interactive kernels for these examples, andjupyterlite-pyodide-kernel
currently, so the global warning will be used for this purposemicropip.install("<...>")
does not uphold custom PyPI indices pyodide/micropip#101)jupyterlite-pyodide-kernel
or any other Pyodide interpreter that powers the documentation, always.Additional comments
The intermediate step would mean that the
.whl
files would have to be downloaded manually usingwget
orcurl
first (a helper script can be created for this) and pointed to the Pyodide-pip interpreter for installation.Footnotes
https://github.com/scipy/scipy/pull/20019/ ↩
The text was updated successfully, but these errors were encountered: