File size: 355 Bytes
91eaff6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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