docs/tutorial/compile.sh
author Pulkit Goyal <pulkit@yandex-team.ru>
Sat, 18 Aug 2018 21:01:14 +0530
branchstable
changeset 3977 a0a4f4de9ea3
parent 3376 aad37ffd7d58
child 5226 38d225efcea9
permissions -rwxr-xr-x
evolvecmd: import mercurial.node module as nodemod We use node as a variable name at few places and the conflicts with variable name are not good. Moreover this practice is followed in core mercurial also.

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