Mercurial > evolve
view docs/tutorial/compile.sh @ 6202:fe8e88ea296d
evolve: use util.unlinkpath() via vfs
Internally vfs.unlinkpath() does the path join and calls util.unlinkpath(). So
the new form is equivalent, just shorter.
This method exists in 4.8, so the new code shouldn't have any compatibility
issues.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sun, 13 Mar 2022 18:21:57 +0300 |
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