-
Notifications
You must be signed in to change notification settings - Fork 7
Decide how execution and cacheing fit into this #21
Comments
Yeh I think so. From our discussion in executablebooks/jupyter-cache#16, it seems that people are OK with the general API now, just focussing on 'touch ups' to the CLI. I'd imagine something like automatically adding all notebooks (+ |
@chrisjsewell that sounds about right to me - one thing I wasn't able to figure out from playing around with jupyter-cache was how to access the cache. E.g., given a notebook path (relative to cache), how do I tell the cache "give me back the mimebundle for cell X in the notebook"? |
|
done via changes in myst-nb! |
Currently, this CLI just does parsing and building with Sphinx. It doesn't handle any execution or cacheing. This means that currently, empty notebooks will be parsed as empty notebooks, and markdown files with computation in them will not be executed.
A few ways that we could do this:
jupyter-book run
or that would point to a folder, and run its contents in-lineI'm curious if @chrisjsewell thinks that jupyter-cache is ready to be used for these two use-cases above? If so, could you give some pointers for how you imagine this could be used? If I have a moment I can try to start making progress towards this as Chris finishes up the parsing improvements etc.
The text was updated successfully, but these errors were encountered: