danielfrg/mkdocs-jupyter

Multi-core convert?

Opened this issue · 1 comments

I have a repo with... too many notebooks.

Is there any way to enable multi-core/multi-processing to speedup up the conversion?

dr-br commented

I recently had exactly the same problem.
Instead of fixing mkdocs build behavior I ended with:
find docs/ -name "*.ipynb" -print0 | xargs -0 -I {} bash -c "echo {}&& jupyter execute --inplace {}&" and execute: False in the mkdocs.yml.
Concerning to this, parallel build does obviously not help much. However, @thedrow did not involve notebook builds. Here, parallel execution matters a lot!