docs/tutorial/compile.sh
author Denis Laxalde <denis.laxalde@logilab.fr>
Fri, 11 Oct 2019 17:05:37 +0200
branchstable
changeset 4909 56a8fbdd6090
parent 3376 aad37ffd7d58
child 5226 38d225efcea9
permissions -rwxr-xr-x
debian: use pybuild and dh_sphinxdoc Use pybuild because it's kind of standard nowadays. Use sphinxdoc debhelper to have a Depends: libjs-sphinxdoc and common files (JS/CSS) symlinked.

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