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

Neil Muller drnlmza-guest at moszumanska.debian.org
Wed Jun 29 15:11:07 UTC 2016


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

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

commit d282bbe89eb2cfbfc5a5729ef401a210c8145e60
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 82e6cc6..e4969a3 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