#!/bin/bash echo "" echo " IGL LIB documentation" echo " " echo "

IGL LIB

" echo "

Headers:

" echo " " echo " " # loop over all headers for h in include/igl/*.h; do b=`basename $h` if [ -e $h ] then printf " " fi # portion of file inside namespace html_nsp=`cat $h | perl -ne 'BEGIN{$p = 0;$\="
";} $o=$p;$p ^= $_=~"[{}]";print if $o && $p;'` #html_nsp=`echo -e $nsp | sed -e "s//\>/g" | tr '\n' '
'` #html_nsp=`echo -e $nsp | sed -e "s//\>/g" | sed -e "s/%/%%/g"` printf "" # Try to find functions and corresponding comments echo "" done echo " " echo ""
.h fileFunctions
$b$html_nsp