blob: 812f3479902248c470bdb6eabc51e141effb0462 (
plain)
1
2
3
4
5
6
7
8
9
|
#! /usr/bin/env bash
# Generate HTML files from markdown ones
# Argument gives specific files if present; otherwise convert everything
for f in ${1-*.md */*.md} ${@:2:$#}
do
g=${f/README/index}
./dzref md.bqn "•←ConvertFile \"$f\"" > docs/${g%md}html
done
|