3 #----------------------------------------------------------------------
7 if [ ! -d wxPython
]; then # TODO: make this test more robust
8 echo "Please run this script from the root wxPython directory."
12 VERSION
=`python -c "import setup;print setup.VERSION"`
19 export PTYHONPATH
=$PWD
20 /opt
/python
/bin
/epydoc
--name "wxPython $VERSION" \
23 --ignore-param-mismatch \
25 --no-expand-subpackages \
27 --css docs
/wxPython
-epydoc.css \
28 --docformat restructuredtext \
29 --url http
://wxPython.org
/ \
32 wxversion
/wxversion.py \
37 # wx/calendar.py wx/grid.py wx/html.py wx/wizard.py \
38 # wx/gizmos.py wx/ogl.py wx/stc.py wx/xrc.py
42 # --docformat epytext \
44 # --inheritance grouped \
45 # --inheritance none \
49 python docs
/bin
/BuildAPIHelpBook.py wxpyapi docs
/api
53 # 1. Should rebuild the top-level docs too (but we need more of them first!)
57 # bundle it all up into a tarball
58 DEST
=wxPython
-$VERSION/docs
59 mkdir -p _build_docs
/$DEST
60 cp -R --link docs
/api _build_docs
/$DEST
62 rm -f ..
/dist
/wxPython
-newdocs-$VERSION.
tar.bz2
63 tar cf ..
/dist
/wxPython
-newdocs-$VERSION.
tar $DEST
64 bzip2 -9 ..
/dist
/wxPython
-newdocs-$VERSION.
tar