#----------------------------------------------------------------------
+set -o xtrace
+
if [ ! -d wxPython ]; then # TODO: make this test more robust
echo "Please run this script from the root wxPython directory."
exit 1
# build the docs
export PTYHONPATH=$PWD
-epydoc --name wxPython \
+/opt/python/bin/epydoc --name "wxPython $VERSION" \
--html \
--output docs/api \
--ignore-param-mismatch \
# --docformat epytext \
# --debug \
# --inheritance grouped \
+# --inheritance none \
+
+
+
+python docs/bin/BuildAPIHelpBook.py wxpyapi docs/api
# TODO:
mkdir -p _build_docs/$DEST
cp -R --link docs/api _build_docs/$DEST
cd _build_docs
-rm -f ../dist/wxPython-newdocs-$VERSION.tar.gz
+rm -f ../dist/wxPython-newdocs-$VERSION.tar.bz2
tar cf ../dist/wxPython-newdocs-$VERSION.tar $DEST
-gzip -9 ../dist/wxPython-newdocs-$VERSION.tar
+bzip2 -9 ../dist/wxPython-newdocs-$VERSION.tar
# Cleanup
cd ..