Interactive notebooksΒΆ
To enable interactive execution we can use Jupyterlite via the jupyterlite-sphinx extension. Then you need to install and
add the jupyterlite-sphinx extension to your conf.py file of your sphinx docs:
extensions = [
'jupyterlite_sphinx',
# And other sphinx extensions
# ...
]
and an appropriate kernel.
For example jupyterlite-pyoidide-kernel and jupyterlite-xeus, giving access to a
subset of pip and conda packages respectively.
As an example open a notebook in JupyterLite, click the button below:
which was made using the following code.
```{eval-rst}
.. jupyterlite:: notebooks/tips-and-tricks.ipynb
:new_tab: True
```