deathbeds / pidgy

Interactive computing in Markdown
https://pidgy.rtfd.io
BSD 3-Clause "New" or "Revised" License
44 stars 7 forks source link

add a pidgy-powered jupyterlite site to docs build #65

Open bollwyvl opened 2 years ago

bollwyvl commented 2 years ago

With jupyterlite 0.1.0a17 we can now deploy custom wheels which can be imported in pyolite 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:

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 with postMessage would have legs, as well.

bollwyvl commented 2 years ago

For the simplest case, It's unclear whether jupyterlite should be added to docs/requirements.txt or noxfile

bollwyvl commented 2 years ago

htmlmin does not publish wheels, so cannot be imported.

update: no big deal, it's a simple wheel to build