kms/documentation/build_macros.sh
Bruno Grieder 09de4f6e31
feat: Add remove option to Destroy + Object not found error message fix (#357)
* first pass - need additional tests + doc

* additional tests

* changelog + doc

* changelog + doc

* fix: typo in _destroy.md

---------

Co-authored-by: Emmanuel Coste <emmanuel.coste@cosmian.com>
2025-01-06 20:02:39 +01:00

4 lines
242 B
Bash
Executable file

#!/bin/sh
awk -F":" 'NF == 2 {print "katex.\_\_defineMacro\(\"" $1 "\", \"" $2 "\"\)"}' macros.txt | sed 's/\\/\\\\/g' > docs/javascripts/macros.js
awk -F":" 'NF == 2 {print "\\newcommand{" $1 "\}\{" $2 "\}"}' macros.txt > pandoc/macros.tex