[Zope-CVS] CVS: Packages/zpkgtools/doc - mkapiref.sh:1.1
.cvsignore:1.2
Fred L. Drake, Jr.
fred at zope.com
Fri Apr 2 12:31:43 EST 2004
Update of /cvs-repository/Packages/zpkgtools/doc
In directory cvs.zope.org:/tmp/cvs-serv28057
Modified Files:
.cvsignore
Added Files:
mkapiref.sh
Log Message:
add a script to drive Epydoc to generate API documentation in doc/apiref/
=== Added File Packages/zpkgtools/doc/mkapiref.sh ===
#! /bin/sh
# Script to drive Epydoc to generate API documentation. This mostly
# just records the command line so it can be reused, and drops the
# documentation in the same place every time.
cd `dirname $0`
cd ..
if [ -e doc/apiref ] ; then
if [ -e doc/apiref-backup ] ; then
rm -r doc/apiref-backup/ || exit $?
fi
mv doc/apiref doc/apiref-backup || exit $?
fi
epydoc -o doc/apiref -n 'Zope Packaging Tools' --docformat restructuredtext \
zpkgtools
ERR=$?
if [ $ERR -eq 0 ] ; then
rm -r doc/apiref-backup || exit $?
fi
exit $ERR
=== Packages/zpkgtools/doc/.cvsignore 1.1 => 1.2 ===
--- Packages/zpkgtools/doc/.cvsignore:1.1 Mon Mar 15 18:28:06 2004
+++ Packages/zpkgtools/doc/.cvsignore Fri Apr 2 12:31:42 2004
@@ -1 +1,2 @@
*.html
+apiref
More information about the Zope-CVS
mailing list