diff options
Diffstat (limited to 'gendoc.sh')
| -rwxr-xr-x | gendoc.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gendoc.sh b/gendoc.sh new file mode 100755 index 0000000..702dfe3 --- /dev/null +++ b/gendoc.sh @@ -0,0 +1,10 @@ +#!/usr/bin/bash +dir=$(mktemp -d) +cp *.md $dir/ +fs=$(find $dir -type f) + +for f in $fs +do + ghmd -o ${f}.html $f +done +wkhtmltopdf $dir/README.html $(find $dir -name '*.html' -not -name 'README.html') dokumentation.pdf |
