docs/tutorial/compile.sh
author Martin von Zweigbergk <martinvonz@google.com>
Fri, 01 May 2020 07:43:15 -0700
changeset 5324 c834fdb87f90
parent 3376 aad37ffd7d58
child 5226 38d225efcea9
permissions -rwxr-xr-x
tests: add more verification of output to divergence tests It's not obvious what the obsmarkers should look like in these tests and adding them highlights a bug that happens when commit we create to resolve the divergence doesn't get created because it would be empty. I also added a few graphlog calls to check that the divergence-resolution commit is in the right place (has right parentage).

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