toqito icon indicating copy to clipboard operation
toqito copied to clipboard

Add `binder` option to the examples gallery

Open purva-thakre opened this issue 7 months ago • 2 comments

sphinx-gallery extension has an experimental feature to add a binder button to all ipnyb files. This binder button opens an interactive jupyter notebook in a person's browser.

An example is available in the geopandas docs where an interactive jupyter notebook is opened after I click on the launch:binder button.

Image

Image

Once this feature is no longer experimental in sphinx-gallery, we want to add a binder button to the jupyter notebooks in our examples library. Right now, if I click on launch: binder button in any of the sphinx-gallery demo examples, the jupyter notebook cannot be launched. There is an open issue to resolve the error https://github.com/sphinx-gallery/sphinx-gallery/issues/1092

Image

Image

purva-thakre avatar Jun 02 '25 16:06 purva-thakre

An alternative to using binder is thebe. https://thebe.readthedocs.io/en/stable/

I found this in Qrisp's documentation. https://www.qrisp.eu/general/tutorial/tutorial.html

Image

purva-thakre avatar Aug 22 '25 03:08 purva-thakre

An alternative to using binder is thebe. https://thebe.readthedocs.io/en/stable/

I found this in Qrisp's documentation. https://www.qrisp.eu/general/tutorial/tutorial.html

Cool, that's a neat find! Can't say I've used that one before, but it looks pretty good.

vprusso avatar Aug 22 '25 03:08 vprusso