[Python-modules-commits] [sqlobject] 03/12: Use rst2html from python-docutils to build the documentation.

Neil Muller drnlmza-guest at moszumanska.debian.org
Thu Oct 29 12:44:56 UTC 2015


This is an automated email from the git hooks/post-receive script.

drnlmza-guest pushed a commit to branch master
in repository sqlobject.

commit e0d727bfcbd95b74ab68f77c01430bd41646843d
Author: Neil Muller <drnlmuller+debian at gmail.com>
Date:   Thu Oct 8 14:08:55 2015 -0700

    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 65729f8..cee45f0 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.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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/sqlobject.git



More information about the Python-modules-commits mailing list