view docs/tutorial/compile.sh @ 4347:59745d6d626d

evolve: extract "update" code into its own function This patch moves the code to a function which handles the case when wdir parent is obsolete and evolve will just update to its successor. And extraction of this to a function will also help us to fix the issue5881.
author Sushil khanchi <sushilkhanchi97@gmail.com>
date Fri, 18 Jan 2019 23:08:43 +0530
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