prophet/docs/Makefile
2017-02-22 15:59:43 -08:00

9 lines
298 B
Makefile

notebooks:
for f in ../notebooks/*.ipynb; \
do \
NAME=$$(basename $$f .ipynb); \
jupyter nbconvert --to markdown ../notebooks/$$NAME.ipynb --template=nbconvert_template.tpl; \
mv -f "$$NAME".md _docs/; \
rm -rf static/"$$NAME"_files; \
mv "$$NAME"_files static/; \
done