diff options
author | EuAndreh <eu@euandre.org> | 2021-01-16 14:11:36 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-01-16 14:13:55 -0300 |
commit | 7f1b1a193bfef0936cfb3f0aee368f0cf21f078f (patch) | |
tree | 8d476ef3af0ceb87d64dc857cf190b5779c56df9 /build-aux/workflow | |
parent | Update tfstate file (diff) | |
download | server-7f1b1a193bfef0936cfb3f0aee368f0cf21f078f.tar.gz server-7f1b1a193bfef0936cfb3f0aee368f0cf21f078f.tar.xz |
Move from TODOs.rst to TODOs.md
Diffstat (limited to 'build-aux/workflow')
-rwxr-xr-x | build-aux/workflow/TODOs.sh | 19 | ||||
-rw-r--r-- | build-aux/workflow/preamble.md | 15 | ||||
-rw-r--r-- | build-aux/workflow/preamble.rst | 20 | ||||
-rw-r--r-- | build-aux/workflow/style.css | 50 |
4 files changed, 75 insertions, 29 deletions
diff --git a/build-aux/workflow/TODOs.sh b/build-aux/workflow/TODOs.sh index f080001..b8a3f29 100755 --- a/build-aux/workflow/TODOs.sh +++ b/build-aux/workflow/TODOs.sh @@ -6,12 +6,13 @@ export PROJECT_UC="$1" export PROJECT="$2" export MAILING_LIST="$3" -envsubst < build-aux/workflow/preamble.rst | \ - cat - TODOs.rst | \ - pandoc --toc \ - --highlight-style pygments \ - --toc-depth=2 \ - -s \ - --metadata title="$1 - TODOs" \ - --metadata lang=en \ - -r rst -w html > public/TODOs.html +envsubst < build-aux/workflow/preamble.md | \ + cat - TODOs.md | \ + pandoc --toc \ + --highlight-style pygments \ + --toc-depth=2 \ + -s \ + --metadata title="$1 - TODOs" \ + --metadata lang=en \ + -H build-aux/workflow/style.css \ + -r markdown -w html > public/TODOs.html diff --git a/build-aux/workflow/preamble.md b/build-aux/workflow/preamble.md new file mode 100644 index 0000000..ac75d9d --- /dev/null +++ b/build-aux/workflow/preamble.md @@ -0,0 +1,15 @@ +# About + +TODOs for $PROJECT_UC. + +See also [$PROJECT.euandreh.xyz](https://$PROJECT.euandreh.xyz/). + +Register a new one: +[~euandreh/$MAILING_LIST@lists.sr.ht](mailto:~euandreh/$MAILING_LIST@lists.sr.ht?subject=BUG%20or%20TASK%3A%20%3Cdescription%3E). + +*Você também pode escrever em português*. + +*Vous pouvez aussi écrire en français*. + +*Vi povas ankaŭ skribi esperante*. + diff --git a/build-aux/workflow/preamble.rst b/build-aux/workflow/preamble.rst deleted file mode 100644 index caa50e6..0000000 --- a/build-aux/workflow/preamble.rst +++ /dev/null @@ -1,20 +0,0 @@ -About -===== - -TODOs for $PROJECT_UC. - -See also `$PROJECT.euandreh.xyz`_. - -Register a new one: `~euandreh/$MAILING_LIST@lists.sr.ht`_. - -*Você também pode escrever em português.* - -*Vous pouvez aussi écrire en français.* - -*Vi povas ankaŭ skribi esperante.* - -.. _`$PROJECT.euandreh.xyz`: https://$PROJECT.euandreh.xyz/ -.. _`~euandreh/$MAILING_LIST@lists.sr.ht`: mailto:~euandreh/$MAILING_LIST@lists.sr.ht?subject=BUG%20or%20TASK%3A%20%3Cdescription%3E - -.. role:: commit - diff --git a/build-aux/workflow/style.css b/build-aux/workflow/style.css new file mode 100644 index 0000000..b68ff70 --- /dev/null +++ b/build-aux/workflow/style.css @@ -0,0 +1,50 @@ +<style> + hr { + background-color: #ccc; + } + + /* + Replicate colors from: + https://git.euandreh.xyz/dotfiles/tree/spacemacs.el?id=fcd9f9c4ef399d45d54927382dc1cdde251ebb0a#n866 + */ + + .TODO::after { + content: "TODO"; + color: brown; + } + + .DOING::after { + content: "DOING"; + color: yellowgreen; + } + + .WAITING::after { + content: "WAITING"; + color: gray; + } + + .MEETING::after { + content: "MEETING"; + color: gray; + } + + .INACTIVE::after { + content: "INACTIVE"; + color: orange; + } + + .NEXT::after { + content: "NEXT"; + color: red; + } + + .CANCELLED::after { + content: "CANCELLED"; + color: green; + } + + .DONE::after { + content: "DONE"; + color: green; + } +</style> |