]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/docs/bin/makeapidocs
e2122ea682ac8f8230e7a0e3d345335adb31db1c
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 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
/ \
34 # wx/calendar.py wx/grid.py wx/html.py wx/wizard.py \
35 # wx/gizmos.py wx/ogl.py wx/stc.py wx/xrc.py
39 # --docformat epytext \
41 # --inheritance grouped \
45 # 1. Should rebuild the top-level docs too (but we need more of them first!)
49 # bundle it all up into a tarball
50 DEST
=wxPython
-$VERSION/docs
51 mkdir -p _build_docs
/$DEST
52 cp -R --link docs
/api _build_docs
/$DEST
54 rm -f ..
/dist
/wxPython
-newdocs-$VERSION.
tar.gz
55 tar cf ..
/dist
/wxPython
-newdocs-$VERSION.
tar $DEST
56 gzip -9 ..
/dist
/wxPython
-newdocs-$VERSION.
tar