textgraphs / bin /nb_md.sh
Paco Nathan
A new start
91eaff6
raw
history blame contribute delete
355 Bytes
#!/bin/bash -e -x
for notebook_path in examples/*.ipynb; do
[ -e "$notebook_path" ] || continue
notebook=`basename $notebook_path`
stem=`basename $notebook_path .ipynb`
cp $notebook_path docs/$notebook
jupyter nbconvert docs/$notebook --to markdown
#exit 0
python3 bin/vis_doc.py docs/"$stem".md
rm docs/$notebook
done