docs/tutorial/compile.sh
author Pulkit Goyal <7895pulkit@gmail.com>
Fri, 08 Jun 2018 17:36:28 +0530
branchstable
changeset 3813 27e7ed2d13a6
parent 3376 aad37ffd7d58
child 5226 38d225efcea9
permissions -rwxr-xr-x
next-prev: always respect the --merge flag An earlier bug fix series which started respecting commands.update.check introduced a bug in which --merge was not respected sometimes. This patch fixes that behavior by passing updatecheck as 'none' to hg.updatetotally() if --merge is passed which is similar to what `hg update` does.

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