Commit Graph

50 Commits

Author SHA1 Message Date
Robin Dunn
9f8a5b8d9a Fix bug when there are more than one code snippets in a set of overloaded methods. 2016-07-15 16:25:05 -07:00
Robin Dunn
24e2b78806 Lots more docs changes.
Add a generator that updates a persistent mapping of item (functions, classes, etc.) to the module names they are a member of.

Remove the NO_MODULE dictionary as we're tracking all the item --> module names now.

Consolidate the 2 removeWxPrefix implementations to just one.

Fix taking out too much space in the class index when removing the :ref: for unknown items, which caused ReST problems.

Use pyName if it is set

When renaming classes we also need to change the className in the method objects

Properly deal with nested classes
2016-05-22 23:39:40 -07:00
Robin Dunn
902263f9d9 Move the snippets to their new file names 2016-05-18 16:38:18 -07:00
Robin Dunn
4e9935e1f0 Merge pull request #80 from swt2c/fix_comboctrl_doc
Fix ComboCtrl documentation
2016-05-10 21:45:23 -07:00
Scott Talbert
19573aa9a6 Fix ComboCtrl documentation 2016-05-10 20:33:18 -04:00
Robin Dunn
b96160b4de Merge pull request #61 from swt2c/fix_eventfilter
Fix wxEventFilter - don't mark as abstract but remove default constru…
2016-05-07 19:17:39 -07:00
Scott Talbert
7040e3018d Fix wxEventFilter - don't mark as abstract but remove default constructors
Also add a unittest and update the documentation
2016-04-05 20:45:33 -04:00
Scott Talbert
5852dcc623 Correct TextCompleterSimple example
Need to pass instance of MyTextCompleter, not class itself.
2016-03-17 00:08:42 -04:00
Robin Dunn
a92666b663 Fix code snippet for file dialog wildcards 2015-03-30 11:46:53 -07:00
Robin Dunn
9a230dbbd5 Update the docs for the changes in the Parse*() methods API 2015-02-26 14:38:57 -08:00
Andrea Gavana
bb9ba09d7c Phoenix docs: rename the richtextctrl_overview.rst with the underscore and add the snipped for dataview.TreeListCtrl.GetNextItem.1.py
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-15 21:31:49 +00:00
Andrea Gavana
a28a5e41cf Updated some Phoenix documentation:
- Added RichTextCtrl overview;
- Updated `index.rst` to include richtext and webkit packages;
- Added a bunch of converted samples from C++ to Python.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-03 22:30:44 +00:00
Andrea Gavana
cd4a234851 Phoenix: add snippets and overview for the wx.grid module.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-13 15:58:36 +00:00
Robin Dunn
28dff8e00b Set the svn:eol-style property to native for the newer files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-14 08:58:31 +00:00
Andrea Gavana
66840744d2 Phoenix: few corrections to the overviews; Added some more contributed snippets; Fixed some more converted snippets; Added the correct interlink references in the etg files; better handling of the Doxygen stuff.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-05 20:44:52 +00:00
Andrea Gavana
6157b2bc35 Phoenix: sizers_overview.rst expanded; added a bunch of "contributed" snippets on various classes/methods; many fixes on strange doxygen layouts and XML hierarchies; fixed many cross-references between classes/methods/functions in the etg files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-04 20:58:27 +00:00
Andrea Gavana
b117617572 Phoenix: few additional fixes to some of the samples, plus better formatting for the remaining troublesome docs classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-03 20:50:04 +00:00
Andrea Gavana
983d3c4c35 Fix a couple of broken snippets for xml and xrc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-01 22:57:07 +00:00
Andrea Gavana
bd891fbdf4 Phoenix: converted snippets for xml and xrc. Fixed minor issues in the docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-01 22:38:22 +00:00
Andrea Gavana
604b778a2c Phoenix docs: handle funny-formatted heading sections for window styles, extra styles and event handling; Add missing modules in the main.html Sphinx file; Convert some more snippets, specifying the highlight language used (XML/HTML for some snippets in wx.html); Correctly reference classes and functions in wx.Bitmap pure-Python methods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-30 20:54:13 +00:00
Andrea Gavana
cd5581f696 Phoenix docs update: added support for wx.html2 and friends, converted a bunch of snippets and translated the wx.Command/wx.CommandProcessor overviews. Revised some internal links between documentation classes and overviews (again... please wx-devs stop renaming the interlinks between classes and overviews).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-29 21:18:30 +00:00
Robin Dunn
7bd1c71395 Add wx.VListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-08-16 00:45:48 +00:00
Robin Dunn
f54ccfb9c8 convert some more snippets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-20 01:47:41 +00:00
Robin Dunn
023b9cec66 Convert a few code snippets.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-18 07:04:17 +00:00
Andrea Gavana
8798cc15f8 Phoenix:
Add support for `HeaderCtrl` and its friends in the documentation builder (snippets added).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-10 22:02:54 +00:00
Andrea Gavana
aacea1b672 Phoenix:
- Add support for `RearrangeDialog` and its friends in the documentation builder;
- Add XXXBook images for the various platforms.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-29 19:04:17 +00:00
Robin Dunn
c8c2e1d97b set svn:eol-style to native
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-22 21:02:42 +00:00
Andrea Gavana
01296cf8cb Phoenix:
- Add support for `wx.Caret` and `wx.BusyInfo` in the documentation builder.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-18 19:41:24 +00:00
Robin Dunn
6416c3639e Set svn:eol-style property to native
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-13 20:00:47 +00:00
Andrea Gavana
9233e2747b Phoenix:
- Add support for `wx.adv.Wizard` and its related classes.



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-10 21:08:29 +00:00
Andrea Gavana
14c7c36924 Phoenix:
- Latest Phoenix development integrated in the documentation builder;
- Added the latest `BitmapComboBox`, `RichToolTip` etc..., with their sample;
- Adapted the existing `adv` samples to use `wx.adv` in the code;
- Fixed wrong rendering of various snippets.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-07 21:07:40 +00:00
Andrea Gavana
fc5b4a31ca Phoenix:
- Add support for `wx.adv.OwnerDrawnComboBox` and `wx.ComboCtrl` in the documentation building process. Add the appropriate samples as well (and wonder why the sample in `wx.ComboCtrl` doesn't get properly highlighted...).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-06 19:36:04 +00:00
Andrea Gavana
4fee2a598a Phoenix:
- Reformat the documentation generator to take into account the "adv" sub-package;
- Make the `sphinx_generator.py` and the `sphinxtools` package Python 3 - compliant.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-29 20:11:36 +00:00
Andrea Gavana
ef79b8c371 - Shorten up the documentation page header;
- Add samples for wx.SplashScreen and AffineMatrix2D.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-26 20:35:44 +00:00
Andrea Gavana
8c1db7a994 Phoenix:
- Add the BannerWindow sample to the snippets;
- Add the animationctrl.png images for the various platforms.

I'm running out of space at the xoomer domain :-(

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-22 19:27:06 +00:00
Andrea Gavana
276acdab9a Phoenix:
- Add the 2 snippets of code related to `FileType`.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-21 20:02:03 +00:00
Andrea Gavana
87ef3295a7 Phoenix:
- Add the `DataObject` overview;
- Correct some missing link to the print dialog overview;
- Add converted snippets for wx.Sound, wx.DataObject and friends.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-17 20:56:11 +00:00
Andrea Gavana
0921891d22 Phoenix: support latest changes to the codebase in the docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-29 23:53:03 +00:00
Andrea Gavana
5e1bfb8ada Phoenix: add the print dialog/data stuff, the pickers and the new tip provider overview in the documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-22 10:22:26 +00:00
Robin Dunn
f404c31784 set svn:eol-style property to native
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-10 03:16:37 +00:00
Andrea Gavana
bd26715e78 Phoenix:
- Fix some over-aggressive substitutions of `this` with `self` in the snippets;
- Fix `inheritance.py` (`class_summary` parameter was not defaulted).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-09 11:54:44 +00:00
Andrea Gavana
e262cef61a Phoenix:
1. Add a substitution of the |SVN| string using subprocess;
2. Add the latest ArtProvider stuff (and replace `ArtID` and `ArtClient` parameter types with `string`). 

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-08 11:13:07 +00:00
Andrea Gavana
ff175387b3 Phoenix: Add support for documenting wx.lib, wx.py and wx.tools (that's the whole wxPython/Phoenix documentation)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-07 21:00:39 +00:00
Andrea Gavana
d44af0e4f4 Phoenix: new updates to better handle wx.lib documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-06 18:22:52 +00:00
Andrea Gavana
77338050a0 Phoenix:
- First stub at integrating `wx.lib` (116 warnings);
- Added `internationalization.rst` file from Werner (with a cool sample app as well);
- Added new samples for AffineMatrix2D.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-05 18:28:47 +00:00
Andrea Gavana
003fb0a804 Phoenix:
1) Update documentation generator for `InfoBar`, `ListCtrl` and new additions;
2) Correct the `writeIfChanged` method, we can't use `str(text)` if the wxWidgets docs contain non-ascii compliant docstrings. Just treat them as unicode objects and use `codecs.open` to compare existing files with new docstrings;
3) Add empty stubs for the `ListCtrl Overview` and `Internationalization`, hopefully someone will populate them...
4) Small fix to the `MigrationGuide.txt`.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-27 20:54:15 +00:00
Andrea Gavana
f97b2e4e6b Phoenix documentation:
* Added overviews for wx.FileSystem, wx.ToolBar and wx.DateTime (thanks to the wxWidgets docs);
* Converted many snippets from C++ to Python for wx.ToolBar, wx.DateTime and wx.TextEntry;
* Updated the conf.py file.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-12 21:03:35 +00:00
Andrea Gavana
47aa4014fa Phoenix: update the sphinx_generator.py file and correct the Sphinx documentation for missing image header, unwanted sections in wx.TextCtrl and other minor cosmetic adjustments.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-28 22:18:11 +00:00
Robin Dunn
611a5cb3a2 Add some new snippets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-02 23:39:41 +00:00
Andrea Gavana
ca4746f13c - Initial commit of the Python scripts to ReSTify the XML documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-30 19:17:09 +00:00