We should use sphinx Gallery to generate automatically the notebooks. To do that we need to provide proper rst documentation in the examples as in https://sphinx-gallery.readthedocs.io/en/latest/tutorials/plot_notebook.html#sphx-glr-tutorials-plot-notebook-py