post.md: post.ipynb pipenv run jupyter nbconvert --no-input --template=figures.tpl --to=markdown post.ipynb to_blog: post.md cp post.md ../../natronics.org/source/_posts/magnetometer_calibration.md mkdir -p ../../natronics.org/source/_posts/magnetometer_calibration/img cp img/* ../../natronics.org/source/_posts/magnetometer_calibration/img cp -r post_files/ ../../natronics.org/source/_posts/magnetometer_calibration/ clean: rm -rf post_files rm post.md