docs/tutorial/compile.sh
author Pulkit Goyal <7895pulkit@gmail.com>
Fri, 15 Jun 2018 00:16:29 +0530
changeset 3852 629558d09898
parent 3376 aad37ffd7d58
child 5226 38d225efcea9
permissions -rwxr-xr-x
evolve: raise error.InterventionRequired instead of Abort when conflicts error.InterventionRequired is a better error to raise in such cases. Thanks to marmoute for noticing this.

#!/bin/bash
set -eox pipefail


function compile {
    pandoc \
    -s $1 \
    -o $2 \
    --toc --toc-depth=4 \
    -F pandocfilters/examples/graphviz.py -F mypandocfilters/graphviz-file.py -F mypandocfilters/raw-file.py \
    -t html5 \
    --template standalone.html --variable=template_css:uikit.css

}

compile slides.md index.html