Commit Graph

26 Commits

Author SHA1 Message Date
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
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
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
da53c6f6d3 Change the SVN version in constants.py.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-07 22:17:19 +00:00
Andrea Gavana
7bf1b0e53d Small modification to modulehunter.py to correctly pick up the latest wxPython version if Phoenix binaries are not available.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-07 21:07:41 +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
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
721cf235ae Phoenix: fixed few issues on the parameters hyperlinks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-02 19:45:44 +00:00
Andrea Gavana
ab4c250c14 Phoenix: Minor tweaks to postprocess.py
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-01 21:10:53 +00:00
Andrea Gavana
aed67e3c7b git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 2012-04-01 21:01:09 +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
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
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
adfd5345f4 Comment out some prints
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-09 05:47:52 +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
Robin Dunn
474de882a8 * Run the sphinx command directly instead of going through their batch or Makefile.
* Output the html files to docs/html
* Clean more in clean_sphinx

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-02 22:03:17 +00:00
Robin Dunn
f09b4b4aac More checks for newer/changed content before writing files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-31 10:41:00 +00:00
Robin Dunn
17d7497913 The XML dir may not exist at import time if the dox command hasn't been run yet. Can't assert for it here.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-31 09:12:49 +00:00
Andrea Gavana
31e7a5dce9 Another try at the phoenix root doxy root stuff (BTW, thanks for NOT setting the WXWIN environ variable)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-30 21:36:17 +00:00
Andrea Gavana
07c4bfc91b - Workaround missing WXWIN environ variable for Sphinx docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-30 21:14:57 +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