Initial setup for jupyterbook build

This commit is contained in:
Dominik Jain authored and Dominik Jain committed 2025-11-07 14:29:35 +01:00
1 parent c3827d9d57
commit 9c506d0097
7 files changed
+1514 -4

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
import os
from pathlib import Path
# This script provides a platform-independent way of making the jupyter-book call (used in pyproject.toml)
toc_file = Path(__file__).parent / "_toc.yml"
cmd = f"jupyter-book toc from-project docs -e .rst -e .md -e .ipynb >{toc_file}"
print(cmd)
os.system(cmd)