I'm trying to export notebooks from a ./doc
folder to a `./notebook/ folder in the root of my project, but remove all the raw cells where I have rst.
I tried the following:
jupyter nbconvert --to notebook $< --output=$@ --TemplateExporter.exclude_raw=True
I'm doing this in a Makefile (so the $<
and $@
are the name of the local notebooks and the name of the notebook once it is moved to the top-level ./notebook
dir, respectively).
It runs, but the raw cells are still there in the copies of the notebooks. Is there something I'm missing?