Open bollwyvl opened 2 years ago
For the simplest case, It's unclear whether jupyterlite
should be added to docs/requirements.txt
or noxfile
htmlmin
does not publish wheels, so cannot be imported.
update: no big deal, it's a simple wheel to build
With
jupyterlite 0.1.0a17
we can now deploy custom wheels which can be imported inpyolite
notebooks.This makes it much easier to deploy work-in-progress demos with per-PR builds on RTD.
Depending on the kind of experience we want to demonstrate we can:
pyolite
notebooks that can "upgrade" to pidgy onesjupyterlite
to the docs environment_static
conf.py
or some other waypidgilite
kernelnodejs
@deathbeds/jupyterlite-pidgy
npm
packagejupyterlite-pidgy
pypi
The first route would just include a link to a local site... I like to do it in a template.
Eventually, though, we could iframe the lite site in... this would take... deeper modification.
Pushing on the iframe idea, the pièce de résistance might be integrating a (non-existant) lite extension would exposed more things to the host application... the lightest touch would be a router hack, e.g.
#command::restart-run-all::{}
though a real iframe bust withpostMessage
would have legs, as well.