aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-01-16 09:05:40 -0300
committerEuAndreh <eu@euandre.org>2021-01-16 09:05:40 -0300
commit62313e4132c579816a209b7614c2dcd7241dcc06 (patch)
tree205e126c9489d44e59365779e31dc85adebf80fb
parentTODOs.rst: Add df87e340-4c35-469a-9bc1-fc57429a0b8e (diff)
downloadserver-62313e4132c579816a209b7614c2dcd7241dcc06.tar.gz
server-62313e4132c579816a209b7614c2dcd7241dcc06.tar.xz
build-aux/workflow: add lang metadata and syntax-highlighting
-rwxr-xr-xbuild-aux/workflow/TODOs.sh11
-rw-r--r--build-aux/workflow/preamble.rst2
2 files changed, 8 insertions, 5 deletions
diff --git a/build-aux/workflow/TODOs.sh b/build-aux/workflow/TODOs.sh
index 036ce13..8100eb8 100755
--- a/build-aux/workflow/TODOs.sh
+++ b/build-aux/workflow/TODOs.sh
@@ -8,7 +8,10 @@ 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
+ pandoc --toc \
+ --highlight-style pygments \
+ --toc-depth=2 \
+ -s \
+ --metadata title="$1 - TODOs" \
+ --metadata lang=en \
+ -r rst -w html > public/TODOs.html
diff --git a/build-aux/workflow/preamble.rst b/build-aux/workflow/preamble.rst
index 45688aa..87e22ae 100644
--- a/build-aux/workflow/preamble.rst
+++ b/build-aux/workflow/preamble.rst
@@ -3,7 +3,7 @@ About
TODOs for $PROJECT_UC.
-See `$PROJECT.euandreh.xyz`_.
+See also `$PROJECT.euandreh.xyz`_.
Register a new one: `~euandreh/$MAILING_LIST@lists.sr.ht`_.