diff options
Diffstat (limited to 'docs/old/generate')
-rwxr-xr-x | docs/old/generate | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/docs/old/generate b/docs/old/generate deleted file mode 100755 index c01cb57..0000000 --- a/docs/old/generate +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash -LANGUAGE="en" -if [ $1 ] - then LANGUAGE=$1; -fi - -if ! [ -d $LANGUAGE ] - then echo $LANGUAGE" is not an appropriate locale."; exit; -fi - -echo "Generate documentation for "$LANGUAGE"." - -cd $LANGUAGE - -for file in `ls *.t2t` -do - name=${file:0:${#file}-4} - txt2tags -q --encoding utf-8 --css-sugar --style style.css --toc -t xhtml -o ../$name".html" $file - txt2tags -q --encoding utf-8 --toc -t txt -o ../$name $file -done - |