Fix a number of things with the generated docs, including translating triple-backtick code blocks into a form doxygen understands.

This commit is contained in:
Eric Haszlakiewicz
2020-07-17 03:46:21 +00:00
parent 9a7de35b92
commit e46b9cdb7d
4 changed files with 457 additions and 441 deletions

6
doc/fixup_markdown.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/sh
#
# Doxygen markdown doesn't support triple-backticks like github does.
# Convert all of those to space-prefixed blocks instead.
#
awk '/```/ { prefix=!prefix; print ""; next; } { if (prefix) { printf " "; } print $0; } ' "$@"