X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cb56afc421319d1c7d88e117969cdc5fdea5fe85..fd4081aa33f41ccd3d373b3cac9e9172e69d888b:/wxPython/docs/bin/makeapidocs diff --git a/wxPython/docs/bin/makeapidocs b/wxPython/docs/bin/makeapidocs index e2122ea682..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 \ @@ -27,6 +29,7 @@ epydoc --name wxPython \ --url http://wxPython.org/ \ --no-frames \ $* \ + wxversion/wxversion.py \ wx # wx/__init__.py \ @@ -39,6 +42,11 @@ epydoc --name wxPython \ # --docformat epytext \ # --debug \ # --inheritance grouped \ +# --inheritance none \ + + + +python docs/bin/BuildAPIHelpBook.py wxpyapi docs/api # TODO: @@ -51,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 ..