Though note that projects like thebelab (https://github.com/minrk/thebelab) are playing around with ways to back a static page with a kernel.
Sent from my phone, apologies for the curtness and type-os On Tue, Jan 15, 2019, 12:08 AM Roland Weber <[email protected] wrote: > Hello Jason, > > Is there a way to ensure the javascript components work as per the actual >> notebooks when the ipynb file has been converted to html? >> > > In general? No. JavaScript that relies on data stored in the notebook > might work. JavaScript that tries to interact with the running kernel will > fail, because there is no running kernel when you browse the html of a > converted ipynb file. > > >> This seems to be possible from this GitHub directory: >> https://github.com/jupyter-widgets/ipywidgets/tree/master/examples/web3 >> > > Instructions there explicitly mention that a notebook server must be > running. This is not the case when you look at the html of a converted > notebook. Iirc, ipywidgets/widgetsnbextensions have special logic that > allows to render captured output even after conversion of the notebook to > html. But you cannot expect the widgets to interact with the code in the > kernel, as they do when you are running a notebook. > > cheers, > Roland > > -- > You received this message because you are subscribed to the Google Groups > "Project Jupyter" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jupyter/18bfabee-f208-478d-88dc-344989fa4d8f%40googlegroups.com > <https://groups.google.com/d/msgid/jupyter/18bfabee-f208-478d-88dc-344989fa4d8f%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAD7kTDHXo_-uep0JdyhNWi0G82KCsJX_nMm7iXCLCmjzSSzDNg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
