X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bc1825091570ac350e632219fe64f13cc0cb038f..5fd01bf1502d53cd8e9a93ebe03129ce200ee1a4:/wxPython/docs/bin/makeapidocs diff --git a/wxPython/docs/bin/makeapidocs b/wxPython/docs/bin/makeapidocs index 95b5b15b1b..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/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 ..