Commit Graph

42 Commits

Author SHA1 Message Date
Robin Dunn
42c661cf54 More Python3 fixes 2015-03-20 10:56:33 -07:00
Robin Dunn
30e7d68f76 Allow typedefs to be nested in classes. 2015-03-03 20:53:18 -08:00
Robin Dunn
d1dfc4e035 Update to Doxygen 1.8.8 (the same version currently used by wxWidgets) 2015-02-28 15:34:57 -08:00
Robin Dunn
bb10ffb496 Create sphinx build dirs that don't already exist.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-19 21:24:20 +00:00
Robin Dunn
df8589a8cd Don't lose the newlines from the docstring of a PyMethodDef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-06 01:59:04 +00:00
Robin Dunn
35fd2e16bf Update copyright year
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-01-21 02:13:03 +00:00
Robin Dunn
591175c16b The deprecated attribute might not be a string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-29 19:42:33 +00:00
Andrea Gavana
7dc13f1e2b Work around for the buildbot sphinx generator which seems unable to find tables and snippets (hopefully this will do the job)...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-08 15:11:14 +00:00
Andrea Gavana
9decb82713 Phoenix: Revise the way `:param: and :rtype: are handled in sphinx_generator.py so that the module name does not appear in front of the class. Minor cleanups to the docstrings generators. Fixed interlinks in wx.lib.busy.py and wx.lib.softwareupdate.py`.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-06 20:33:39 +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
6eb532bdc5 Phoenix: better handling of XML tail items after source code...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-04 21:26:03 +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
bed39f701d Phoenix: again improvements for pathological linebreaks inside parameter descriptions (GLContext.__init__, DC.Blit and ConfigBase.__init__)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-03 22:37:19 +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
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
12c69fa054 Fix for empty snippet files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-18 16:30:46 +00:00
Robin Dunn
78b63e56ea Fixes for better integration with the existing wxScrolledWindow and wxScrolledCanvas docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-13 23:22:11 +00:00
Andrea Gavana
1aaaef0e92 Phoenix:
- Fix the generation of inheritance diagrams for pure-Python classes;
- Set the `detailedDoc` attribute to an empty string for instances of `TypedefDef`.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-13 20:40:53 +00:00
Andrea Gavana
b5fcfba543 Phoenix:
- Handle the `typedef` stuff as classes when the `docAsClass` attribute is set to ``True`` in the documentation building process (see `ScrolledWindow` and `ScrolledCanvas`).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-12 22:08:35 +00:00
Andrea Gavana
3e720e2530 Phoenix:
- Correctly handle and reference inherited methods inside class/method descriptions;
- Reformat the method's short descriptions in the Summary tables to properly show hyperlinks to the methods themselves.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-12 20:34:13 +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
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
c56045244f Phoenix:
- Update the `sphinx_generator.py` to handle the latest `sashwin.py` and `laywin.py`;
- Remove non-pertinent sections from the wxWidgets docs (stuff talking about cpp/h include files);
- Optimize the handling of enumeration stuff thus reducing the number of unreferenced classes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-30 19:06:06 +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
Robin Dunn
b41df0b779 Many, many (many!) changes needed to build and run the Phoenix extension modules with Python 3. Where possible changes were made such that the code works with both Python 2.7 and 3.2 without conditionals. In general the following types of changes were made:
* Changed imports to use either absolute or explicit relative imports.  Implicit relative imports are no longer allowed.

 * Changes to accomodate standard library classes or modues moving to other locations, or being removed entirely.

 * Changes related to print becoming a function, execfile being removed, u'' no longer allowed, and other syntax related issues.

 * Working around C APIs that have changed or simply vanished. (PyInt, PyString, PyBytes, etc.)

 * Dealing with text file objects using strings vs binary file objects using bytes, auto-encoding, and etc.

 * Replacing the use of PyCObject with PyCapsule and dealing with an apparent bug where PyCapsule objects can't be imported from submodules within a package.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-24 23:28:02 +00:00
Andrea Gavana
a2abfbb2f0 Phoenix:
- Add support for tooltips over inheritance diagram boxes containing the first line(s) of documentation instead of simply the default useless class name.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-09 23:00:41 +00:00
Andrea Gavana
f748a0b068 Phoenix:
- Add hyperlinks to external references (such as threading, code, exceptions and so on) to inheritance diagrams and sub/super classes;
- Add a stub for the overview "Writing Non-English Applications";
- Better handling of `wx.lib` documentation extraction.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-08 23:51:22 +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
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
94c66c0a34 Phoenix updates:
1) Keep the sidebar always visible;
2) Put the search stuff on the scrolling header;
3) Implement accordion-style JavaScrip stuff to show/hide user-contributed samples;
4) Minor clean-ups.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-03 18:41:48 +00:00
Andrea Gavana
a76c594a58 Phoenix: fixed few issues on the gallery and on parameter types.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-02 22:07:08 +00:00
Andrea Gavana
dfc8c5e69f Phoenix stuff:
1) Fixes on the problems reported by Werner on wx.EvtHandler (and there were many others, hopefully they should be OK now);
2) Integration of Chris' samples on wx.GridBagSizer (see http://xoomer.virgilio.it/infinity77/Phoenix/GridBagSizer.html#gridbagsizer);
3) Start on the Documentation guidelines (see http://xoomer.virgilio.it/infinity77/Phoenix/DocstringsGuidelines.html);
4) Integration of Werner's patches on _core.py and app.py for the docstrings.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-01 17:56:57 +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
Andrea Gavana
946bef565d Fix back the documentation builders for Sphinx.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-22 16:28:17 +00:00
Robin Dunn
f13a31694d Don't always append output to the ReST files. Classes and Enums should just replace the existing file if there is one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-02 23:40:48 +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
Robin Dunn
04f10c5868 Update Phoenix copyright statements to 2011
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@68978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-03 01:52:23 +00:00
Robin Dunn
548d52253c minor fix in the file header
git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-18 08:19:45 +00:00
Robin Dunn
2c4ebc512e Add file headers to the rest of the source files, don't bother with cvs keywords, fix some typos, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-11 00:54:15 +00:00