1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
Description: Use rst2html from python-docutils to build the documentation.
Author: Neil Muller <drnlmuller+debian@gmail.com>
Forwarded: not-needed
Last-Update: 2014-04-13
--- a/docs/rebuild
+++ b/docs/rebuild
@@ -11,11 +11,11 @@
community download index links sqlobject-admin"
for NAME in $NORMAL ; do
- if [ -e "$NAME.html" -a ! "$NAME.html" -ot "$NAME.txt" ] ; then
+ if [ -e "docs/$NAME.html" -a ! "docs/$NAME.html" -ot "docs/$NAME.txt" ] ; then
echo "$NAME is up to date."
continue
fi
echo "Building $NAME."
- rst2html.py --no-toc-backlinks --stylesheet=default.css --link-stylesheet \
- -- "$NAME.txt" > "$NAME.html"
+ rst2html --no-toc-backlinks --stylesheet=default.css --link-stylesheet \
+ -- "docs/$NAME.txt" > "docs/$NAME.html"
done
|