docs/tutorial/compile.sh
author Pulkit Goyal <7895pulkit@gmail.com>
Sat, 24 Mar 2018 17:21:42 +0530
changeset 3633 ed3032ee53eb
parent 3376 aad37ffd7d58
child 5226 38d225efcea9
permissions -rwxr-xr-x
evolve: handle interrupted phase-divergence resolution gracefully This patch adds logic to handle the interrupted phase-divergence resolution by `hg evolve` command gracefully. We first complete the relocation of the changeset and then do the divergence resolution. Previous functions moved required code separate fucntions so that we can use them here.

#!/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