view docs/tutorial/compile.sh @ 6907:5439ac6b2fc2 mercurial-6.2

ci: replace `hg id` call with $CI_COMMIT_HG_BRANCH This is easier to do than install newer Mercurial on an older CI image.
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 24 Oct 2024 20:40:46 +0400
parents aad37ffd7d58
children
line wrap: on
line source

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