Adding or editing tutorials as Jupyter notebooks
Under the doc/source/ folder of the SciPy tree you can find a few
documents written in MyST Markdown format. The content in these files is
executed when the SciPy documentation is built (locally or on CI) and any
outputs generated by the execution are rendered in the final HTML files. In
addition, they can be made interactive in the SciPy documentation website by
using the
jupyterlite-sphinx
extension.
If you have a document written in Jupyter notebook format (an .ipynb file)
and would like to submit it as part of the SciPy documentation, there are two
options: you can convert it into a MyST Markdown file, and work with a .md
file only, or you can pair your .ipynb file with a .md file and work
with both. Note that .ipynb files should not be submitted to the SciPy
documentation.