Jupyter notebook page
Contents
Jupyter notebook page#
This is a raw Jupyter notebook page, in .ipynb
format.
Usage#
Basic code execution works:
!hostname
print(sum(range(10)))
fv-az424-472
45
Directives work as well, since it is recursively executed by the same parser as normal Markdown files. Of course, Sphinx directives won’t be interperted within Jupyter itself, but that is probably OK for development purposes:
Exercise
This is a challenge block
You can learn more about this at the myst-nb docs. Most this applies equally to the .md
files.
Configuration#
The jupyter_execute_notebooks
variable in conf.py controls execution. Currently, we don’t set a default for this, which makes it auto
. You can read more about this upstream. Possible values include:
off
: don’t executeauto
: exceute *only if there are missing outputsforce
: always re-executecache
: always execute, but cache the output. Don’t re-execute if the input is unchanged.