From 19f700f1c99d2f3dcd8775cc629037312d853ee1 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Fri, 13 Nov 2015 23:36:02 -0800 Subject: doc: Construct html index for documentation This gets uploaded to keith's machine as an easy way to see what's available. Signed-off-by: Keith Packard --- doc/make-am-html | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100755 doc/make-am-html (limited to 'doc/make-am-html') diff --git a/doc/make-am-html b/doc/make-am-html new file mode 100755 index 00000000..ad8cb0a2 --- /dev/null +++ b/doc/make-am-html @@ -0,0 +1,30 @@ +#!/bin/sh +cat << 'EOF' + + + + + +Altus Metrum Documentation + + + + +

Altus Metrum Documentation

+EOF + +for i in "$@"; do + echo '

' + grep '' $i | head -1 | sed -e 's/.*<title>//' -e 's;.*;;' + pdf=`basename "$i" .html`.pdf + echo 'html' + echo 'pdf' + echo '

' +done + +cat << 'EOF' + + +EOF -- cgit v1.2.3