docs/tutorial/compile.sh
author Anton Shestakov <av6@dwimlabs.net>
Thu, 21 Nov 2019 14:18:35 +0700
branchstable
changeset 4966 4f3c87584a4a
parent 3376 aad37ffd7d58
child 5226 38d225efcea9
permissions -rwxr-xr-x
heptapod-ci: add a script to map evolve branch to mercurial revision for tests map-hg-rev.sh can be tested using this command: ```sh for i in $(hg log -T '{branch}\n' | sort -u); do echo $i $(testlib/map-hg-rev.sh $i) done ```

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