From: oetiker Date: Mon, 30 Jan 2006 22:32:45 +0000 (+0000) Subject: link to root X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d60e6f67c4319d75bc405c76d7f618a4906b77f4;p=rrdtool-all.git link to root git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@756 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/website/bin/htmlfix.sh b/website/bin/htmlfix.sh index 7bb2a6c9..eacaafd7 100755 --- a/website/bin/htmlfix.sh +++ b/website/bin/htmlfix.sh @@ -1,8 +1,8 @@ #! /bin/sh case $1 in *.html) - perl -i -0777 -p -e 's/^\s*//' $1 tidy -latin1 -wrap 0 -q -asxhtml $1 >$1.fixed 2>$1.report + perl -i -0777 -p -e 's/^\s*//;s{="mailto:(oetiker|tobi|tobias)@(oetiker.ch|ee.ethz.ch)"}{="http://tobi.oetiker.ch/"}g;s{="mailto:(\S*?)\@(\S*?)"}{="mailto:$1@..delete..this..$2"}g' $1.fixed if [ $? != 0 ]; then echo Parsing: $1 egrep -v "^(HTML Tidy|$1:|To learn|Please send|HTML and CSS|Lobby your)" $1.report diff --git a/website/bin/pod2wml.sh b/website/bin/pod2wml.sh index d15dc0a5..74bcc2cb 100755 --- a/website/bin/pod2wml.sh +++ b/website/bin/pod2wml.sh @@ -2,7 +2,7 @@ pod2wml (){ base=$1 [ -z "$descr" ] && descr=$base [ -z "$menu" ] && menu=$descr - pod2html --infile=$base.pod --outfile=$base.pre --noindex --htmlroot=$SITEROOT --podroot=$SITEROOT --podpath=$PODPATH + pod2html --infile=$base.pod --outfile=$base.pre --noindex --htmlroot='$(ROOT)' --podroot=$SITEROOT --podpath=$PODPATH $SITEROOT/bin/fix-pod2html.pl $base.pre | $SITEROOT/bin/fix-hrefs.pl >$base.html echo "" >>navbar.inc printf "
" >>index.inc