Control execution order of notebooks #1859
Answered
by
agoose77
CangyuanLi
asked this question in
Q&A
-
Is it possible to control the execution order of notebooks? For example, given
where "report" is a notebook "report.ipynb", how do I ensure that "report.ipynb", the root, is always run first (instead of last)? |
Beta Was this translation helpful? Give feedback.
Answered by
agoose77
May 23, 2025
Replies: 1 comment
-
Hi @CangyuanLi For now, this is not possible in Jupyter Book 2. We are working on feature improvements to address this. For Jupyter Book 1, it is not possible directly, but you can pre-execute the notebooks manually in the proper order using e.g. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
CangyuanLi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @CangyuanLi
For now, this is not possible in Jupyter Book 2. We are working on feature improvements to address this. For Jupyter Book 1, it is not possible directly, but you can pre-execute the notebooks manually in the proper order using e.g.
jupyter-cache
, and then use thecache
executor at build time.