Commit Graph

95 Commits

Author SHA1 Message Date
Robin Dunn
874bdd2626 Don't remove leading wx when postprocessing 2016-06-04 16:08:29 -07:00
Robin Dunn
2355ceb198 Use fullname on constants in the converted text 2016-06-04 14:44:08 -07:00
Robin Dunn
be90ee5427 Fix incorrect doubling on ** in some cases.
More nested enum fixes.
2016-05-27 14:57:57 -07:00
Robin Dunn
045773b119 Try without the currentmodule directive... 2016-05-24 23:40:58 -07:00
Robin Dunn
68844e4b52 Add the functions to the module index pages.
Call them moduleindex pages instead of classindex.
Use the fullname for function links.
2016-05-23 23:43:11 -07:00
Robin Dunn
23c2166727 Sort using the fullname so nested classes will appear next to the parent class 2016-05-23 15:32:47 -07:00
Robin Dunn
94d9f61852 Remove "Classes" from the module index title.
I think just the module name is good enough.
2016-05-23 14:53:21 -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
4fc2e37df7 Rename class_summary.lst extension to *.pkl for consistency 2016-05-20 19:25:03 -07:00
Robin Dunn
4c29dfae85 More copyright updates 2016-05-19 23:57:17 -07:00
Robin Dunn
a83ca5e94f Refactor lots of functions to use camelCase names 2016-05-19 23:53:40 -07:00
Robin Dunn
e2f853d0e0 Put the module docstrings on the module index pages
Plus some other changes to start using using the "wx." prefix on names in the docs. (More are still needed but this is a start.
2016-05-19 21:04:14 -07:00
Robin Dunn
b4132cbaa0 If we're processing a real[*] module grab and save the etg docstring.
[*] A "real" module is defined by the etg scripts which include others, like wx._core, wx._adv, etc. These are the ones turned into the actual extension modules in the final parts of the build.
2016-05-19 14:57:07 -07:00
Robin Dunn
97bcad804f refactor reading and writing data to pickle files 2016-05-18 21:39:21 -07:00
Robin Dunn
a312e68d53 Add wx prefix in the module names map 2016-05-18 16:35:42 -07:00
Robin Dunn
ae42d4d894 add the msw module for the docs 2016-05-17 08:21:33 -07:00
Thibault Genessay
fa690a7e5f Added shell=True to Popen() on win32
This allows 'dot.exe' to be found when called with 'dot', as long as
'dot.exe' is in the PATH.
2016-03-01 13:01:36 +01:00
Robin Dunn
a700ef0cae Don't use reload on Python3 2016-02-28 20:52:59 -08:00
Robin Dunn
f937890aca Add _media to MODULENAME_REPLACE 2016-02-28 20:02:06 -08:00
Robin Dunn
42c661cf54 More Python3 fixes 2015-03-20 10:56:33 -07:00
Robin Dunn
8b28cafb29 Merge pull request #9 from davidfraser/double-float-clicks
Don't replace `double` with `float` if it's immediately followed by 'click'
2015-03-17 17:25:20 -07:00
David Fraser
144992dd9b Don't replace double with float if it's immediately followed by a word starting 'click'
Otherwise we advise people about 'float clicking' and other difficult endeavours
See http://trac.wxwidgets.org/ticket/16904
2015-03-17 14:59:49 +00:00
David Fraser
a28e87a32f Quote fontname as required by graphviz 2.36.0 2015-03-17 14:30:14 +00:00
Robin Dunn
7f86b9eb54 It's not a subversion revision anymore. Also a bit of text tweaking. 2015-02-05 21:33:16 -08:00
Robin Dunn
87b92b66f0 Remove unnecessary #! lines from files that will never be executed standalone. 2015-02-05 21:19:32 -08:00
Robin Dunn
8fdb90b961 Adding the wx folder to the sys.path is a bad idea, as then it will have potential problems with name clashes with modules in the stdlib or site-packages (like xml). 2015-02-05 21:19:31 -08:00
Robin Dunn
a75e5adb71 fix another getSvnRev 2015-02-04 14:17:58 -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
Andrea Gavana
d35a897edb Phoenix docs: avoid Sphinx warnings if a short description of a class/method ends with the ":" character.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-09 13:43:25 +00:00
Andrea Gavana
e04cab6d11 Phoenix docs: avoid Sphinx errors while making the class index for a package (see previous errors on wxGrid).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-09 12:56:02 +00:00
Robin Dunn
3ab0303ac8 Restructure the page headers and how they are tweaked so we don't
have the weird wrapping problems, unless the user has a weirdly
sized browser.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-02 06:22:36 +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
Robin Dunn
14168ece0a Add MODULENAME_REPLACE item for _webkit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-12-30 03:41:21 +00:00
Robin Dunn
05f7541872 add richtext to the map
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-09 17:27:47 +00:00
Andrea Gavana
ce9b26f926 Avoid Sphinx warning for HTMLHelpDialog/Frame/Window while building the Phoenix documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-03-27 21:27:22 +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
608313f472 Add links for wx.grid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-12 16:49:51 +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
53925ab3cc Watch out for ImportErrors when getting attributers from an object (it may be a pseudo module that will try to import other modules.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-18 19:07:53 +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
44bd22d409 Phoenix: handle the ::wxSomething case (no, really, wxWindow::wxSetCursor in wxSetCursorEvent????)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-04 22:05:51 +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
617e7fcdfb Phoenix: don't lookup "..." strings for module.class names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-03 21:51:38 +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
96de16a077 Phoenix: add xml and xrc modules to constants.py.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-01 11:16:42 +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