#!/bin/sh # Creates HTML version of the wiki. echo "making HTML" ./make_stats.sh rm -rf html mkdir html cp report.html html DATE=`date +"%D"` FILECOUNT=`ls *.md | wc -l` FILELIST="filelist.html" HEADER="LRS Wiki

less_retarded_wiki

main page, file list ($FILECOUNT), source, report, stats, wiki last updated on $DATE
" FOOTER="

All content available under CC0 1.0 (public domain). Send comments and corrections to drummyfish at disroot dot org.

" echo "$HEADER $FOOTER" >> html/$FILELIST cp style.css html/ ./make_html_single.sh cp ./lrs_wiki.html html/lrs_wiki_full.html echo "done"