X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bc1825091570ac350e632219fe64f13cc0cb038f..e78e8fdbfdcf104a96f04d5e7ebf0ed2c3d95c93:/wxPython/docs/bin/makeapidocs diff --git a/wxPython/docs/bin/makeapidocs b/wxPython/docs/bin/makeapidocs index 95b5b15b1b..36b3230ac1 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 \ --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,9 @@ epydoc --name wxPython \ # --docformat epytext \ # --debug \ # --inheritance grouped \ +# --inheritance none \ + +python docs/bin/BuildAPIHelpBook.py wxpyapi docs/api # TODO: @@ -51,9 +57,9 @@ DEST=wxPython-$VERSION/docs mkdir -p _build_docs/$DEST cp -R --link docs/api _build_docs/$DEST cd _build_docs -rm -f ../dist/wxPythonNewDocs-$VERSION.tar.gz -tar cf ../dist/wxPythonNewDocs-$VERSION.tar $DEST -gzip -9 ../dist/wxPythonNewDocs-$VERSION.tar +rm -f ../dist/wxPython-newdocs-$VERSION.tar.bz2 +tar cf ../dist/wxPython-newdocs-$VERSION.tar $DEST +bzip2 -9 ../dist/wxPython-newdocs-$VERSION.tar # Cleanup cd ..