Permalink
Browse files

doc

git-svn-id: http://chiral.j4cbo.com/svn/trunk@110 a827fe29-2235-0410-a7a9-cacdfe24a5d3
  • Loading branch information...
jacob
jacob committed May 18, 2008
1 parent 33c5dcd commit 1f287209ec5ee7cdf8a07f924909660337868fc5
Showing with 12 additions and 4 deletions.
  1. +5 −0 doc/chiral-doc.cfg
  2. +7 −4 doc/doc-check.sh
View
@@ -0,0 +1,5 @@
projectname: Chiral
docformat: restructuredtext
packages: ~jacob/code/chiral/chiral
htmlsourcebase: http://chiral.j4cbo.com/trac/browser/trunk
htmloutput: ~jacob/www/chiral.j4cbo.com/chiral-doc
View
11 doc/doc-check.sh 100644 → 100755
@@ -1,12 +1,15 @@
#!/bin/sh
#!/bin/bash
LATESTFILE="~jacob/code/chiral-doc/lastest-update"
LATESTFILE=~jacob/code/chiral-doc/latest-update
LASTREV=`svnlook youngest ~jacob/svn/chiral`
LASTDOC=$(LATESTFILE)
LASTDOC=$(< $LATESTFILE)
if [ "$LASTREV" -gt "$LASTDOC" ]
then
echo "updating"
cd ~jacob/code/chiral
svn up -q
pydoctor -c ~jacob/code/chiral-doc/chiral-doc.cfg -q --make-html \
> ~jacob/www/chiral.j4cbo.com/chiral-doc/doc.log 2>&1
echo $LASTREV > $LATESTFILE
fi

0 comments on commit 1f28720

Please sign in to comment.