From 8f31a8bdbc265e3a7b18bfb6c9a66a8cc6cf5d36 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 14 Jan 2021 14:41:35 -0300 Subject: Use rst for TODOs --- build-aux/workflow/TODOs.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 build-aux/workflow/TODOs.sh (limited to 'build-aux/workflow/TODOs.sh') 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 -- cgit v1.2.3