--- trunk/www/working/scripts/html2offline 2010/05/20 16:05:47 51 +++ trunk/www/working/scripts/html2doc 2010/05/20 16:24:26 52 @@ -1,7 +1,7 @@ #!/bin/bash ############################################################################## # # -# html2offline, (C) 2007-2010 S. Georgaras # +# html2doc, (C) 2007-2010 S. Georgaras # # # # This file is part of Clonezilla-SysRescCD. # # # @@ -71,9 +71,14 @@ s{^[ \t]*Help{{ s{^[ \t]*Screenshots{{ s{[hH][rR][Ee][fF]="README.html"{href="../README.html"{g +s{>Documentation<{>Offline Documentation<{ +s{Documentation:{Offline Documentation:{ ' "$n" > doc/"$n" rm "$n" done + + +# Fixing README.html sed ' s{[hH][rR][Ee][fF]="\.\./README.html"{href="README.html"{g s{<[aA] [hH][rR][Ee][fF]="\([^"]*\)">\([^<]*\)<[bB][rR][^>]*>{\2
{ @@ -82,7 +87,11 @@ / -s{>Documentation<{>Offline Documentation<{ + + +/
/ , /<.div>/ d +/
README.html rm doc/README.html