aboutsummaryrefslogtreecommitdiff
path: root/aux/workflow/TODOs.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-01-19 17:10:42 -0300
committerEuAndreh <eu@euandre.org>2022-01-19 17:10:42 -0300
commit67fe5998c9666f64112141b832f15c0d77b24f33 (patch)
tree18b381c3e33799d506f04f91fb65c13385ec7b66 /aux/workflow/TODOs.sh
parentpaku.json: Update td version (diff)
downloadpackage-repository-67fe5998c9666f64112141b832f15c0d77b24f33.tar.gz
package-repository-67fe5998c9666f64112141b832f15c0d77b24f33.tar.xz
aux/: Update
Diffstat (limited to 'aux/workflow/TODOs.sh')
-rwxr-xr-xaux/workflow/TODOs.sh11
1 files changed, 2 insertions, 9 deletions
diff --git a/aux/workflow/TODOs.sh b/aux/workflow/TODOs.sh
index efc0b04..b7cbae1 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 |
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 \