X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6c75a4cf0f94cbe53bfde4fbcddff741158fbc7c..68f146206ff65cfafdf88c154aece854a0ba4864:/wxPython/docs/bin/makeapidocs diff --git a/wxPython/docs/bin/makeapidocs b/wxPython/docs/bin/makeapidocs index 6f208fc975..0daabadb34 100755 --- a/wxPython/docs/bin/makeapidocs +++ b/wxPython/docs/bin/makeapidocs @@ -2,6 +2,8 @@ #---------------------------------------------------------------------- +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 @@ -15,7 +17,7 @@ rm -r docs/api/* # build the docs export PTYHONPATH=$PWD -epydoc --name wxPython \ +/opt/python/bin/epydoc --name "wxPython $VERSION" \ --html \ --output docs/api \ --ignore-param-mismatch \ @@ -40,6 +42,11 @@ epydoc --name wxPython \ # --docformat epytext \ # --debug \ # --inheritance grouped \ +# --inheritance none \ + + + +python docs/bin/BuildAPIHelpBook.py wxpyapi docs/api # TODO: @@ -52,9 +59,9 @@ DEST=wxPython-$VERSION/docs 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 ..