2004-04-30 02:28:54 -04:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
#----------------------------------------------------------------------
|
|
|
|
|
|
|
|
if [ ! -d wxPython ]; then # TODO: make this test more robust
|
|
|
|
echo "Please run this script from the root wxPython directory."
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
rm -r docs/api/*
|
|
|
|
|
2004-06-04 19:21:22 -04:00
|
|
|
export PTYHONPATH=$PWD
|
|
|
|
|
2004-04-30 02:28:54 -04:00
|
|
|
epydoc --name wxPython \
|
|
|
|
--html \
|
|
|
|
--output docs/api \
|
|
|
|
--ignore-param-mismatch \
|
|
|
|
--inheritance none \
|
|
|
|
--no-expand-subpackages \
|
|
|
|
--no-private \
|
|
|
|
--css docs/wxPython-epydoc.css \
|
|
|
|
--docformat restructuredtext \
|
2004-06-04 19:21:22 -04:00
|
|
|
--url http://wxPython.org/ \
|
|
|
|
--no-frames \
|
2004-04-30 02:28:54 -04:00
|
|
|
$* \
|
2004-06-04 19:21:22 -04:00
|
|
|
wx
|
|
|
|
|
|
|
|
# wx/__init__.py \
|
|
|
|
|
|
|
|
# wx/calendar.py wx/grid.py wx/html.py wx/wizard.py \
|
|
|
|
# wx/gizmos.py wx/ogl.py wx/stc.py wx/xrc.py
|
|
|
|
|
2004-04-30 02:28:54 -04:00
|
|
|
|
|
|
|
# --no-frames \
|
|
|
|
# --docformat epytext \
|
|
|
|
# --debug \
|
2004-06-04 19:21:22 -04:00
|
|
|
# --inheritance grouped \
|
2004-04-30 02:28:54 -04:00
|
|
|
|
|
|
|
|
|
|
|
# TODO:
|
|
|
|
# 1. Should rebuild the top-level docs too (but we need more of them first!)
|
|
|
|
# 2. bundle it all up into a tarball
|
|
|
|
# 3. etc.
|
|
|
|
|
|
|
|
|