-
Notifications
You must be signed in to change notification settings - Fork 479
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Conflicts: fixTexts.sh
- Loading branch information
Showing
3 changed files
with
19 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
Submodule xml
updated
from 98d7eb to 2f76de
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters