mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 12:00:13 +01:00
Rename some doc files --> *.rst for editor support and for GitHub visibility.
This commit is contained in:
19
.gitignore
vendored
19
.gitignore
vendored
@@ -6,29 +6,26 @@
|
|||||||
.waf-*
|
.waf-*
|
||||||
.waf3-*
|
.waf3-*
|
||||||
.lock-waf*
|
.lock-waf*
|
||||||
|
wingdbstub.py*
|
||||||
|
mydbstub.py*
|
||||||
|
|
||||||
.idea
|
.idea
|
||||||
|
|
||||||
# /
|
|
||||||
/.hg
|
|
||||||
/.hgignore
|
|
||||||
/build
|
/build
|
||||||
/build_waf
|
|
||||||
/tmp
|
/tmp
|
||||||
/dist
|
/dist
|
||||||
/license
|
/license
|
||||||
/*.egg-info
|
/*.egg-info
|
||||||
/REV.txt
|
/REV.txt
|
||||||
|
|
||||||
# /bin/
|
|
||||||
/bin/sip-*
|
/bin/sip-*
|
||||||
/bin/waf-*
|
/bin/waf-*
|
||||||
/bin/waf3-*
|
/bin/waf3-*
|
||||||
/bin/doxygen-*
|
/bin/doxygen-*
|
||||||
|
|
||||||
# /docs/sphinx/
|
|
||||||
/docs/html
|
/docs/html
|
||||||
/docs/sphinx/*.txt
|
/docs/sphinx/*.txt
|
||||||
|
/docs/sphinx/*.rst
|
||||||
/docs/sphinx/*.pkl
|
/docs/sphinx/*.pkl
|
||||||
/docs/sphinx/*.inc
|
/docs/sphinx/*.inc
|
||||||
/docs/sphinx/*.lst
|
/docs/sphinx/*.lst
|
||||||
@@ -38,20 +35,14 @@
|
|||||||
/docs/sphinx/build
|
/docs/sphinx/build
|
||||||
|
|
||||||
|
|
||||||
# /sip/cpp/
|
|
||||||
/sip/cpp/sip.signature
|
/sip/cpp/sip.signature
|
||||||
/sip/cpp/*.sbf
|
/sip/cpp/*.sbf
|
||||||
/sip/cpp/*.h
|
/sip/cpp/*.h
|
||||||
/sip/cpp/*.cpp
|
/sip/cpp/*.cpp
|
||||||
/sip/cpp-*
|
/sip/cpp-*
|
||||||
|
|
||||||
# /sip/gen/
|
|
||||||
/sip/gen/*.sip
|
/sip/gen/*.sip
|
||||||
|
|
||||||
# /sip/siplib/
|
|
||||||
/sip/siplib/.update
|
/sip/siplib/.update
|
||||||
|
|
||||||
# /wx/
|
|
||||||
/wx/*.py
|
/wx/*.py
|
||||||
/wx/*.pyc
|
/wx/*.pyc
|
||||||
/wx/*.pi
|
/wx/*.pi
|
||||||
@@ -61,6 +52,6 @@
|
|||||||
/wx/*.dylib
|
/wx/*.dylib
|
||||||
/wx/libwx_*
|
/wx/libwx_*
|
||||||
/wx/locale
|
/wx/locale
|
||||||
/unittests/lib_pubsub_provider_actual.py
|
|
||||||
wingdbstub.py*
|
/unittests/lib_pubsub_provider_actual.py
|
||||||
|
|
||||||
|
|||||||
@@ -169,36 +169,36 @@ Other Dev Stuff
|
|||||||
a[0]
|
a[0]
|
||||||
a[0][0]
|
a[0][0]
|
||||||
|
|
||||||
* In a Py3 build strings like wx.TreeCtrlNameStr are being generated as
|
* In a Py3 build strings like wx.TreeCtrlNameStr are being generated as
|
||||||
bytes objects, they should probably be string objects. Or not, sip's
|
bytes objects, they should probably be string objects. Or not, sip's
|
||||||
default might be best... See ModuleDef.addGlobalStr if I change my mind.
|
default might be best... See ModuleDef.addGlobalStr if I change my mind.
|
||||||
|
|
||||||
* If a function or method has overloads but all but one all ignored then the doc
|
* If a function or method has overloads but all but one all ignored then the doc
|
||||||
generator should not use the "*args, **kw" form of output and just use the
|
generator should not use the "*args, **kw" form of output and just use the
|
||||||
args string of the remaining function or method definition like for those
|
args string of the remaining function or method definition like for those
|
||||||
that do not have overloads. For example, see Window.GetClientSize
|
that do not have overloads. For example, see Window.GetClientSize
|
||||||
|
|
||||||
* Check gui_scripts entry points.
|
* Check gui_scripts entry points.
|
||||||
|
|
||||||
* wx.Window.DoEraseBackground?
|
* wx.Window.DoEraseBackground?
|
||||||
|
|
||||||
* The sphinxtools are too aggressive at ignoring content beyond a #. If the hash
|
* The sphinxtools are too aggressive at ignoring content beyond a #. If the hash
|
||||||
happens to be inside a string then syntax related errors can happen. For example:
|
happens to be inside a string then syntax related errors can happen. For example:
|
||||||
|
|
||||||
def SetColors(self, pen='black', fill='#A0A0A0', fill2='#E0E0E0'):
|
def SetColors(self, pen='black', fill='#A0A0A0', fill2='#E0E0E0'):
|
||||||
...
|
...
|
||||||
|
|
||||||
|
|
||||||
* Add tests and/or demo for DnD in DataViewCtrl. Since the DnD is done
|
* Add tests and/or demo for DnD in DataViewCtrl. Since the DnD is done
|
||||||
internally and the DataViewEvent is used for passing the data objects
|
internally and the DataViewEvent is used for passing the data objects
|
||||||
around we may need to do something to help convert the raw data to python
|
around we may need to do something to help convert the raw data to python
|
||||||
DataObjects.
|
DataObjects.
|
||||||
|
|
||||||
* Add meaningful __hash__ methods for wx.Colour, wx.Point, etc.?
|
* Add meaningful __hash__ methods for wx.Colour, wx.Point, etc.?
|
||||||
|
|
||||||
* Double-check wx.PyEvent and wx.PyCommandEvent, does the
|
* Double-check wx.PyEvent and wx.PyCommandEvent, does the __getattr__,
|
||||||
__getattr__ etc. work with properties? See:
|
etc. work with properties? See:
|
||||||
https://groups.google.com/d/msg/wxpython-dev/dMrpaKs_d0U/nVMY7lMvAwAJ
|
https://groups.google.com/d/msg/wxpython-dev/dMrpaKs_d0U/nVMY7lMvAwAJ
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
13
b
13
b
@@ -2,16 +2,13 @@
|
|||||||
|
|
||||||
##set -o xtrace
|
##set -o xtrace
|
||||||
|
|
||||||
#PYVER=2.7
|
|
||||||
#PYVER2=27
|
|
||||||
PYVER=3.4
|
|
||||||
PYVER2=34
|
|
||||||
|
|
||||||
if [ "$OSTYPE" = "cygwin" ]; then
|
if [ "$OSTYPE" = "cygwin" ]; then
|
||||||
$TOOLS/python$PYVER2/python.exe -u build.py "$@"
|
PYTHON=`which python.exe`
|
||||||
|
echo $PYTHON
|
||||||
|
$PYTHON -u build.py "$@"
|
||||||
else
|
else
|
||||||
PATH=/usr/local/bin:$PATH
|
PYTHON=`which python`
|
||||||
PYTHON=`which python$PYVER`
|
echo $PYTHON
|
||||||
$PYTHON -u build.py "$@"
|
$PYTHON -u build.py "$@"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
11
build.py
11
build.py
@@ -888,11 +888,12 @@ def cmd_sphinx(options, args):
|
|||||||
SphinxIndexes(sphinxDir)
|
SphinxIndexes(sphinxDir)
|
||||||
GenGallery()
|
GenGallery()
|
||||||
|
|
||||||
todo = os.path.join(phoenixDir(), 'TODO.txt')
|
# Copy the hand-edited top level doc files too
|
||||||
copyIfNewer(todo, sphinxDir)
|
rstFiles = [os.path.join(phoenixDir(), 'TODO.rst')] + \
|
||||||
txtFiles = glob.glob(os.path.join(phoenixDir(), 'docs', '*.txt'))
|
glob.glob(os.path.join(phoenixDir(), 'docs', '*.rst'))
|
||||||
for txtFile in txtFiles:
|
for rst in rstFiles:
|
||||||
copyIfNewer(txtFile, sphinxDir)
|
txt = os.path.join(sphinxDir, os.path.splitext(os.path.basename(rst))[0] + '.txt')
|
||||||
|
copyIfNewer(rst, txt)
|
||||||
|
|
||||||
MakeHeadings()
|
MakeHeadings()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user