little tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2004-06-04 23:21:22 +00:00
parent 3616829292
commit 77d4f44386
3 changed files with 17 additions and 4 deletions

View File

@ -30,7 +30,7 @@ import images
_treeList = [
# new stuff
('Recent Additions and Updates', [
('Recent Additions/Updates', [
'OGL',
'FloatCanvas',
]),

View File

@ -12,18 +12,20 @@ VERSION=`python -c "import setup;print setup.VERSION"`
CONTRIBS="ogl gizmos"
DEST=wxPython-$VERSION/docs
# **** Make a directory to build up a distribution tree
mkdir -p _build_docs/$DEST
cd _build_docs
mkdir $DEST/wx
WXDIR=../..
INI=$WXDIR/docs/latex/wx/tex2rtf.ini
# **** Build the main docs using tex2rtf
echo "****" main "****"
cp $WXDIR/docs/latex/wx/*.gif $DEST/wx
cp $WXDIR/docs/latex/wx/*.css $DEST/wx
$WXDIR/utils/tex2rtf/src/tex2rtf $WXDIR/docs/latex/wx/manual.tex $DEST/wx/wx.html -twice -html -macros $WXDIR/docs/latex/wx/tex2rtf.ini
tex2rtf $WXDIR/docs/latex/wx/manual.tex $DEST/wx/wx.html -twice -html -macros $INI
cp $DEST/wx/wx_contents.html $DEST/wx/index.html
cp $DEST/wx/* $WXDIR/docs/html/wx
@ -33,7 +35,7 @@ for c in $CONTRIBS; do
mkdir $DEST/$c
cp $WXDIR/contrib/docs/latex/$c/*.gif $DEST/$c
cp $WXDIR/contrib/docs/latex/$c/*.bmp $DEST/$c
$WXDIR/utils/tex2rtf/src/tex2rtf $WXDIR/contrib/docs/latex/$c/$c.tex $DEST/$c/$c.html -twice -html -macros $WXDIR/docs/latex/wx/tex2rtf.ini
tex2rtf $WXDIR/contrib/docs/latex/$c/$c.tex $DEST/$c/$c.html -twice -html -macros $INI
cp $DEST/$c/$c.html $DEST/$c/index.html || cp $DEST/$c/${c}_contents.html $DEST/$c/index.html
done

View File

@ -10,6 +10,8 @@ fi
rm -r docs/api/*
export PTYHONPATH=$PWD
epydoc --name wxPython \
--html \
--output docs/api \
@ -19,12 +21,21 @@ epydoc --name wxPython \
--no-private \
--css docs/wxPython-epydoc.css \
--docformat restructuredtext \
--url http://wxPython.org/ \
--no-frames \
$* \
./wx/__init__.py
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
# --no-frames \
# --docformat epytext \
# --debug \
# --inheritance grouped \
# TODO: