docs/tutorial/compile.sh
author Anton Shestakov <av6@dwimlabs.net>
Mon, 02 Dec 2019 20:56:47 +0700
branchmercurial-4.7
changeset 4979 c46f0430a668
parent 3376 aad37ffd7d58
child 5226 38d225efcea9
permissions -rwxr-xr-x
test-compat: run tests with -j more than 1 In 4.7 and below run-tests.py defaults to -j1. We want more speed, so we use the same mechanism to detect the available number of CPU threads as the newer versions of run-tests.py.

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