]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/docs/bin/makeapidocs
3 #----------------------------------------------------------------------
5 if [ ! -d wxPython
]; then # TODO: make this test more robust
6 echo "Please run this script from the root wxPython directory."
10 VERSION
=`python -c "import setup;print setup.VERSION"`
17 export PTYHONPATH
=$PWD
18 /opt
/python
/bin
/epydoc
--name wxPython \
21 --ignore-param-mismatch \
23 --no-expand-subpackages \
25 --css docs
/wxPython
-epydoc.css \
26 --docformat restructuredtext \
27 --url http
://wxPython.org
/ \
30 wxversion
/wxversion.py \
35 # wx/calendar.py wx/grid.py wx/html.py wx/wizard.py \
36 # wx/gizmos.py wx/ogl.py wx/stc.py wx/xrc.py
40 # --docformat epytext \
42 # --inheritance grouped \
46 # 1. Should rebuild the top-level docs too (but we need more of them first!)
50 # bundle it all up into a tarball
51 DEST
=wxPython
-$VERSION/docs
52 mkdir -p _build_docs
/$DEST
53 cp -R --link docs
/api _build_docs
/$DEST
55 rm -f ..
/dist
/wxPython
-newdocs-$VERSION.
tar.bz2
56 tar cf ..
/dist
/wxPython
-newdocs-$VERSION.
tar $DEST
57 bzip2 -9 ..
/dist
/wxPython
-newdocs-$VERSION.
tar