From 604b778a2c4bf7fc6041d7e5f1632dac1774ea2b Mon Sep 17 00:00:00 2001 From: Andrea Gavana Date: Fri, 30 Nov 2012 20:54:13 +0000 Subject: [PATCH] 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 --- docs/sphinx/_templates/main.html | 21 ++++++----- .../Window.ConvertDialogToPixels.1.py | 8 ++-- .../converted/html.HtmlTag.GetBeginPos.1.py | 1 + .../converted/html.HtmlTag.GetEndPos1.1.py | 1 + .../converted/html.HtmlTag.GetEndPos2.1.py | 1 + etg/bitmap.py | 16 ++++---- etg/webview.py | 4 +- etgtools/sphinx_generator.py | 37 +++++++++++++------ sphinxtools/constants.py | 5 ++- sphinxtools/postprocess.py | 2 +- sphinxtools/utilities.py | 15 ++++++-- 11 files changed, 71 insertions(+), 40 deletions(-) diff --git a/docs/sphinx/_templates/main.html b/docs/sphinx/_templates/main.html index 02ede7f2..5db1efdb 100644 --- a/docs/sphinx/_templates/main.html +++ b/docs/sphinx/_templates/main.html @@ -4,17 +4,17 @@

Welcome to wxPython (Phoenix)'s documentation!

- Welcome! This is the documentation for wxPython {{ release }}, last updated |TODAY| from + Welcome! This is the documentation for wxPython {{ release }}, last updated |TODAY| from Subversion revision |SVN|.

Phoenix is the code name for the new version of wxPython. Robin Dunn called - this Project Phoenix because in the + this Project Phoenix because in the process of doing this project wxPython's implementation will be utterly destroyed and then - reborn in a new and marvelous way, much like the mythical Phoenix rising from the ashes - of its former self. For wxPython many things about how the wrapper/bindings code is - produced will be changing, and we'll also be eliminating some other crud along the way. + reborn in a new and marvelous way, much like the mythical Phoenix rising from the ashes + of its former self. For wxPython many things about how the wrapper/bindings code is + produced will be changing, and we'll also be eliminating some other crud along the way.

@@ -27,8 +27,8 @@

  • Migration Guide: the Migration Guide will give you some hints on how to modify your existing wxPython applications to be compatible with Phoenix, - and the Classic vs. Phoenix document will give details - on the identifier names that have changed and what you should use instead in your applications. + and the Classic vs. Phoenix document will give details + on the identifier names that have changed and what you should use instead in your applications. These documents are updated as the project progresses, so be sure to check them often.
  • @@ -52,10 +52,10 @@ - + - + @@ -68,6 +68,9 @@ + +