aboutsummaryrefslogtreecommitdiff
path: root/build-aux/workflow/TODOs.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-01-14 14:41:35 -0300
committerEuAndreh <eu@euandre.org>2021-01-14 14:46:14 -0300
commit8f31a8bdbc265e3a7b18bfb6c9a66a8cc6cf5d36 (patch)
tree6f83a372acf0865b48da48baa8dfb9fa31079a4a /build-aux/workflow/TODOs.sh
parentTODOs.org: Add bc537812-5f9d-4760-8c95-9ae933ecbd57 and ac19877b-55e3-48c8-8c... (diff)
downloadtoph-8f31a8bdbc265e3a7b18bfb6c9a66a8cc6cf5d36.tar.gz
toph-8f31a8bdbc265e3a7b18bfb6c9a66a8cc6cf5d36.tar.xz
Use rst for TODOs
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