Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the ability to execute notebooks #48

Closed
choldgraf opened this issue Mar 6, 2020 · 2 comments
Closed

Add the ability to execute notebooks #48

choldgraf opened this issue Mar 6, 2020 · 2 comments

Comments

@choldgraf
Copy link
Member

In addition to full jupyter-cache support, we should also probably allow for lightweight execution of notebooks at build time, so that users don't have to embed outputs with their notebooks if they wish for them to be in the docs.

We could do this with nbclient, I think the question is how to handle things like "known exceptions" etc.

A simple rubric to follow would be what nbsphinx does, and decide whether to execute a notebook top-to-bottom if it has no outputs in any cells.

chrisjsewell added a commit to executablebooks/jupyter-cache that referenced this issue Mar 13, 2020
…into_file`

This notebook can now eventually be auto-executed with  executablebooks/MyST-NB#48
@chrisjsewell
Copy link
Member

We could do this with nbclient, I think the question is how to handle things like "known exceptions" etc.

Just to note, we should endeavour to make sure that the execution logic is consistent over jupyter-cache, jupyter-sphinx and myst-nb, e.g. how known execptions are handled.

@chrisjsewell
Copy link
Member

I believe this was handled in #55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants