little tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
3616829292
commit
77d4f44386
@ -30,7 +30,7 @@ import images
|
|||||||
|
|
||||||
_treeList = [
|
_treeList = [
|
||||||
# new stuff
|
# new stuff
|
||||||
('Recent Additions and Updates', [
|
('Recent Additions/Updates', [
|
||||||
'OGL',
|
'OGL',
|
||||||
'FloatCanvas',
|
'FloatCanvas',
|
||||||
]),
|
]),
|
||||||
|
@ -12,18 +12,20 @@ VERSION=`python -c "import setup;print setup.VERSION"`
|
|||||||
CONTRIBS="ogl gizmos"
|
CONTRIBS="ogl gizmos"
|
||||||
DEST=wxPython-$VERSION/docs
|
DEST=wxPython-$VERSION/docs
|
||||||
|
|
||||||
|
|
||||||
# **** Make a directory to build up a distribution tree
|
# **** Make a directory to build up a distribution tree
|
||||||
mkdir -p _build_docs/$DEST
|
mkdir -p _build_docs/$DEST
|
||||||
cd _build_docs
|
cd _build_docs
|
||||||
mkdir $DEST/wx
|
mkdir $DEST/wx
|
||||||
|
|
||||||
WXDIR=../..
|
WXDIR=../..
|
||||||
|
INI=$WXDIR/docs/latex/wx/tex2rtf.ini
|
||||||
|
|
||||||
# **** Build the main docs using tex2rtf
|
# **** Build the main docs using tex2rtf
|
||||||
echo "****" main "****"
|
echo "****" main "****"
|
||||||
cp $WXDIR/docs/latex/wx/*.gif $DEST/wx
|
cp $WXDIR/docs/latex/wx/*.gif $DEST/wx
|
||||||
cp $WXDIR/docs/latex/wx/*.css $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/wx_contents.html $DEST/wx/index.html
|
||||||
cp $DEST/wx/* $WXDIR/docs/html/wx
|
cp $DEST/wx/* $WXDIR/docs/html/wx
|
||||||
|
|
||||||
@ -33,7 +35,7 @@ for c in $CONTRIBS; do
|
|||||||
mkdir $DEST/$c
|
mkdir $DEST/$c
|
||||||
cp $WXDIR/contrib/docs/latex/$c/*.gif $DEST/$c
|
cp $WXDIR/contrib/docs/latex/$c/*.gif $DEST/$c
|
||||||
cp $WXDIR/contrib/docs/latex/$c/*.bmp $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
|
cp $DEST/$c/$c.html $DEST/$c/index.html || cp $DEST/$c/${c}_contents.html $DEST/$c/index.html
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -10,6 +10,8 @@ fi
|
|||||||
|
|
||||||
rm -r docs/api/*
|
rm -r docs/api/*
|
||||||
|
|
||||||
|
export PTYHONPATH=$PWD
|
||||||
|
|
||||||
epydoc --name wxPython \
|
epydoc --name wxPython \
|
||||||
--html \
|
--html \
|
||||||
--output docs/api \
|
--output docs/api \
|
||||||
@ -19,12 +21,21 @@ epydoc --name wxPython \
|
|||||||
--no-private \
|
--no-private \
|
||||||
--css docs/wxPython-epydoc.css \
|
--css docs/wxPython-epydoc.css \
|
||||||
--docformat restructuredtext \
|
--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 \
|
# --no-frames \
|
||||||
# --docformat epytext \
|
# --docformat epytext \
|
||||||
# --debug \
|
# --debug \
|
||||||
|
# --inheritance grouped \
|
||||||
|
|
||||||
|
|
||||||
# TODO:
|
# TODO:
|
||||||
|
Loading…
Reference in New Issue
Block a user