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

Neil Muller drnlmza-guest at moszumanska.debian.org
Thu Sep 1 20:31:40 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 99977fdda9307c1d7b508d4ee96ca367ccdfe816
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 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/rebuild b/docs/rebuild
index c5313e0..4e06f4c 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 \
+    rst2html --no-toc-backlinks --stylesheet=default.css --link-stylesheet \
         -- "$NAME.rst" > "$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