You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't see the ipython notebook example int he built html docs. I had expected to see it appear as a page in the examples gallery. @melissawm is this part working for you?
EDIT: Ah, I see now. Any jupyter notebook files are being deliberately skipped (see setup function in docs/conf.py)
defsetup(app):
"""Set up docs build. * Ignores .ipynb files to prevent sphinx from complaining about multiple files found for document when generating the gallery * Rewrites github anchors to be comparable * Adds google calendar api key to meetings schedule page """app.registry.source_suffix.pop(".ipynb", None)
I thought we wanted the notebooks to be executed and included? #70
I see that there is a single line of text in the gallery.rst page linking to it, but that is easy to overlook. It also leaves us vulnerable to the code in that notebook going out of date, and we won't know it produces errors.
I'm not sure what the reason for skipping these in the napari/docs is. There might be some tricky technical issue preventing it here too? See this line of code in conf.py.
The text was updated successfully, but these errors were encountered:
Ah, right. We are skipping the ipynb files in the napari docs, because over there all executable content is in myst markdown (with .md extension) and the only ipynb files present are the ones generated by sphinx-gallery - and we don't want to execute those. If you want to commit ipynb files to be executed in these docs, that needs to be dropped.
Execute .ipynb jupyter notebook files for the examples gallery.
This nice to have to-do item came up during development of #200
#200 (comment)
#200 (comment)
The text was updated successfully, but these errors were encountered: