1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
From 0fb824590378ef261ac0cfc902f96b2338d88b6b Mon Sep 17 00:00:00 2001
From: Neil Muller <drnlmuller+debian@gmail.com>
Date: Thu, 8 Oct 2015 14:08:55 -0700
Subject: Use rst2html from python-docutils to build the documentation.
Forwarded: not-needed
Last-Update: 2014-04-13
Patch-Name: change_doc_build_script
---
docs/rebuild | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/rebuild b/docs/rebuild
index c5313e0..31b0077 100755
--- a/docs/rebuild
+++ b/docs/rebuild
@@ -12,11 +12,11 @@ NORMAL="Authors DeveloperGuide FAQ Inheritance
community download index links sqlobject-admin"
for NAME in $NORMAL ; do
- if [ -e "$NAME.html" -a ! "$NAME.html" -ot "$NAME.rst" ] ; then
+ if [ -e "docs/$NAME.html" -a ! "docs/$NAME.html" -ot "docs/$NAME.rst" ] ; then
echo "$NAME is up to date."
continue
fi
echo "Building $NAME."
- rst2html.py --no-toc-backlinks --stylesheet=default.css --link-stylesheet \
- -- "$NAME.rst" > "$NAME.html"
+ rst2html --no-toc-backlinks --stylesheet=default.css --link-stylesheet \
+ -- "docs/$NAME.rst" > "docs/$NAME.html"
done
|