jupyterlite / jupyterlite-sphinx

Sphinx extension using JupyterLite to render Notebooks
https://jupyterlite-sphinx.readthedocs.io/en/latest
BSD 3-Clause "New" or "Revised" License
68 stars 21 forks source link

Add option for warning in first cell of TryExamples generated notebook #142

Closed steppi closed 8 months ago

steppi commented 8 months ago

Problem

It would be helpful to be able to warn users about things like slow load times etc. In the notebooks Scikit-Learn uses with Jupyterlite, they put a warning in the first cell like this

image

Proposed Solution

I'll submit a PR which adds a config option which specifies a warning text which can be added in the first cell.

Additional context