782119171d
Was copying the kf_book subdirectory into the existing one if it was already there, causing PDF build failure if you didn't clean prior to running it.
11 lines
245 B
Batchfile
11 lines
245 B
Batchfile
mkdir tmp
|
|
copy ..\*.ipynb .\tmp
|
|
copy ..\*.py .\tmp
|
|
cp -r ..\kf_book\ .\tmp\
|
|
|
|
cd tmp
|
|
|
|
forfiles /m *.ipynb /c "cmd /c ipython ..\rm_notebook.py @file"
|
|
forfiles /m *.ipynb /c "cmd /c jupyter nbconvert --to notebook --execute @file --output @file"
|
|
|