mirror of
https://github.com/json-c/json-c.git
synced 2026-04-06 13:59:07 +08:00
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:
6
doc/fixup_markdown.sh
Executable file
6
doc/fixup_markdown.sh
Executable 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; } ' "$@"
|
||||
Reference in New Issue
Block a user