danielfrg / mkdocs-jupyter

Use Jupyter Notebook in mkdocs
https://mkdocs-jupyter.danielfrg.com
Apache License 2.0
402 stars 49 forks source link

Multi-core convert? #191

Open logan-markewich opened 8 months ago

logan-markewich commented 8 months ago

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 6 months ago

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!