summaryrefslogtreecommitdiff
path: root/gendoc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gendoc.sh')
-rwxr-xr-xgendoc.sh10
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