aboutsummaryrefslogtreecommitdiff
path: root/aux/workflow/TODOs.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-03-06 14:05:23 -0300
committerEuAndreh <eu@euandre.org>2022-03-06 14:05:23 -0300
commit5f52853ce4a03b0b1c1dc6a4f252bd8107083652 (patch)
treeba688c4057825dc1baad699a207a03e6ac1baa7f /aux/workflow/TODOs.sh
parentTODOs.md: Add #td-d5370885-16f3-acf8-7e7a-a65d794242ee (diff)
downloadeuandre.org-5f52853ce4a03b0b1c1dc6a4f252bd8107083652.tar.gz
euandre.org-5f52853ce4a03b0b1c1dc6a4f252bd8107083652.tar.xz
aux/: Update
Diffstat (limited to '')
-rwxr-xr-xaux/workflow/TODOs.sh13
1 files changed, 3 insertions, 10 deletions
diff --git a/aux/workflow/TODOs.sh b/aux/workflow/TODOs.sh
index efc0b04..05cf3cb 100755
--- a/aux/workflow/TODOs.sh
+++ b/aux/workflow/TODOs.sh
@@ -40,20 +40,13 @@ if [ -z "${PROJECT_UC:-}" ]; then
fi
-# shellcheck disable=1004
-IDS_REGEX='s:^## \(TODO\|DOING\|WAITING\|MEETING\|INACTIVE\|NEXT\|CANCELLED\|DONE\|WONTFIX\) \(.*\) {#\(.*\)}\(.*\)$:## <a href="#\3"><span class="\1">\1</span> \2</a>\4\
-<pre class="header-anchor" id="\3">#\3</pre>\
-:g'
-TAGS_REGEX='s|tag:\([a-z0-9-]*\)|<span class="tag">\1</span>|g'
-
-cat aux/workflow/preamble.md TODOs.md |
+td -H |
+ cat aux/workflow/preamble.md - |
sed \
-e "s:@PROJECT_UC@:$PROJECT_UC:g" \
-e "s:@PROJECT@:$PROJECT:g" \
-e "s:@MAILING_LIST@:$MAILING_LIST:g" \
- -e "s:@TLD@:$TLD:g" \
- -e "$IDS_REGEX" \
- -e "$TAGS_REGEX" |
+ -e "s:@TLD@:$TLD:g" |
pandoc \
--toc \
--highlight-style pygments \