aboutsummaryrefslogtreecommitdiff
path: root/build-aux/workflow/TODOs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/workflow/TODOs.sh')
-rwxr-xr-xbuild-aux/workflow/TODOs.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/build-aux/workflow/TODOs.sh b/build-aux/workflow/TODOs.sh
new file mode 100755
index 0000000..036ce13
--- /dev/null
+++ b/build-aux/workflow/TODOs.sh
@@ -0,0 +1,14 @@
+#!/bin/sh -eux
+
+mkdir -p public
+
+export PROJECT_UC="$1"
+export PROJECT="$2"
+export MAILING_LIST="$3"
+
+envsubst < build-aux/workflow/preamble.rst | \
+ cat - TODOs.rst | \
+ pandoc --toc \
+ --toc-depth=2 \
+ -s --metadata title="$1 - TODOs" \
+ -r rst -w html > public/TODOs.html