Update
This commit is contained in:
parent
ef91bbba67
commit
f850c6c59b
7 changed files with 104 additions and 3 deletions
|
@ -2,6 +2,9 @@
|
|||
# Creates HTML version of the wiki.
|
||||
|
||||
echo "making HTML"
|
||||
|
||||
./make_stats.sh
|
||||
|
||||
rm -rf html
|
||||
mkdir html
|
||||
|
||||
|
@ -10,7 +13,7 @@ cp report.html html
|
|||
DATE=`date +"%D"`
|
||||
FILECOUNT=`ls *.md | wc -l`
|
||||
FILELIST="filelist.html"
|
||||
HEADER="<html><head><link rel=\"stylesheet\" href=\"style.css\"><title>LRS Wiki</title></head><body><h1>less_retarded_wiki</h1><a href=\"main.html\">main page</a>, <a class=\"notdead\" href=\"$FILELIST\">file list ($FILECOUNT)</a>, <a class=\"notdead\" href=\"https://repo.or.cz/less_retarded_wiki.git/snapshot/HEAD.tar.gz\">source</a>, <a class=\"notdead\" href="report.html">report</a>, wiki last updated on $DATE<hr />"
|
||||
HEADER="<html><head><link rel=\"stylesheet\" href=\"style.css\"><title>LRS Wiki</title></head><body><h1>less_retarded_wiki</h1><a href=\"main.html\">main page</a>, <a class=\"notdead\" href=\"$FILELIST\">file list ($FILECOUNT)</a>, <a class=\"notdead\" href=\"https://repo.or.cz/less_retarded_wiki.git/snapshot/HEAD.tar.gz\">source</a>, <a class=\"notdead\" href="report.html">report</a>, <a class=\"notdead\" href=\"wiki_stats.html\">stats</a>, wiki last updated on $DATE<hr />"
|
||||
FOOTER="<hr/><p>All content available under <a class=\"notdead\" href=\"https://creativecommons.org/publicdomain/zero/1.0/\">CC0 1.0</a> (public domain). Send comments and corrections to drummyfish at disroot dot org. </p></body></html>"
|
||||
|
||||
echo "$HEADER <ul>" > html/$FILELIST
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue