commit
ba5b8638a9
@ -1,6 +1,18 @@
|
||||
#!/bin/bash
|
||||
# regenerate documentation after editing the .rst files. Requires python and docutils.
|
||||
rst2html --no-generator --no-datestamp Readme.rst Readme.html
|
||||
rst2html --no-generator --no-datestamp Compile.rst Compile.html
|
||||
rst2html --no-generator --no-datestamp Lua\ API.rst Lua\ API.html
|
||||
rst2html --no-generator --no-datestamp Contributors.rst Contributors.html
|
||||
|
||||
cd `dirname $0`
|
||||
|
||||
function process() {
|
||||
if [ "$1" -nt "$2" ]; then
|
||||
rst2html --no-generator --no-datestamp "$1" "$2"
|
||||
else
|
||||
echo "$2 - up to date."
|
||||
fi
|
||||
}
|
||||
|
||||
process Readme.rst Readme.html
|
||||
process Compile.rst Compile.html
|
||||
process Lua\ API.rst Lua\ API.html
|
||||
process Contributors.rst Contributors.html
|
||||
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 98d7ebf6a7995a0150b4320adfe8d7131f8174cf
|
||||
Subproject commit 2f76de54dacd32af567b177adfb9d037fdf62d9b
|
Loading…
Reference in New Issue