diff options
Diffstat (limited to 'fixTexts.sh')
| -rwxr-xr-x | fixTexts.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fixTexts.sh b/fixTexts.sh index 689dab8e..ff277338 100755 --- a/fixTexts.sh +++ b/fixTexts.sh @@ -1,17 +1,18 @@ #!/bin/bash +# regenerate documentation after editing the .rst files. Requires python and docutils. cd `dirname $0` function process() { if [ "$1" -nt "$2" ]; then - rst2html "$1" "$2" + rst2html --no-generator --no-datestamp "$1" "$2" else echo "$2 - up to date." fi } -# this script is used for easy testing of the rst documentation files. process Readme.rst Readme.html process Compile.rst Compile.html process Lua\ API.rst Lua\ API.html process Contributors.rst Contributors.html + |
