a new set of documentation pages are available for Phoenix
2.9.4.80 at http://xoomer.virgilio.it/infinity77/Phoenix/main.html.
This release includes:
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).
If someone thinks the samples are still too verbose (i.e., long), I
can include them as separate downloads instead of inline samples in
the docs;
3) Start on the Documentation guidelines (see
http://xoomer.virgilio.it/infinity77/Phoenix/DocstringsGuidelines.html).
Please let me know if you feel I should add something else or expand
some issues; also, please feel free to criticize the standards;
4) I have integrated Werner's patches on _core.py and app.py for the docstrings.
Please let me know if you see anything strange.
Enjoy.
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/
On 01/04/2012 19:55, Andrea Gavana wrote:
> Hi All,
...
>
> Please let me know if you see anything strange.
A little spell error:
http://xoomer.virgilio.it/infinity77/Phoenix/DocstringsGuidelines.html
"which require manual input od the documentation"
'od' should be 'of'
In admonitions you mention "deprecated" shouldn't "versionadded" and
"versionchanged" also be on there?
With regards to the contributed examples, what about having just a list
of contributed example in the current place with a short description
with a link which opens the sample in its own page.
BTW, have you given up or not found the time (to understand their
javascript magic) to adapt some of the TurboGears theme stuff,
especially keeping the table of content in view when scrolling would be
very nice:)
Werner
Good morning Andrea
On 01/04/2012 19:55, Andrea Gavana wrote:
Hi All,...
A little spell error:
Please let me know if you see anything strange.
http://xoomer.virgilio.it/infinity77/Phoenix/DocstringsGuidelines.html
"which require manual input od the documentation"
'od' should be 'of'
In admonitions you mention "deprecated" shouldn't "versionadded" and "versionchanged" also be on there?
With regards to the contributed examples, what about having just a list of contributed example in the current place with a short description with a link which opens the sample in its own page.
BTW, have you given up or not found the time (to understand their javascript magic) to adapt some of the TurboGears theme stuff, especially keeping the table of content in view when scrolling would be very nice:)
On 02/04/2012 11:00, Andrea Gavana wrote:
...
> In admonitions you mention "deprecated" shouldn't "versionadded" and
> "versionchanged" also be on there?
>
>
> They are, at the bottom of that section. I just thought they were less
> important (and also less visible) than the other ones, but I can put
> them back in the main list.
Oops, one should read to the end of things.
>
>
> With regards to the contributed examples, what about having just a
> list of contributed example in the current place with a short
> description with a link which opens the sample in its own page.
>
>
> That would be OK with me, I think I will do something like this:
>
> 1) If the sample is more than 20 lines long, I'll put it in a separate
> downloadable/browsable section; with a short description in the doc page;
> 2) If it's shorter than 20 lines, it gets included in the doc page.
>
> That's just rough and approximate, I'd be happy to hear other solutions.
I would just do 1, but lets see what others think.
>
>
> BTW, have you given up or not found the time (to understand their
> javascript magic) to adapt some of the TurboGears theme stuff,
> especially keeping the table of content in view when scrolling would
> be very nice:)
>
>
>
> I know, but I am really crappy at this javascript stuff. I'll try and
> give it another go; if I can't make it, someone else will have to look
> into it.
Great. In case you can't make it do you have a smallish test setup (I
assume the full build takes quit a lot of time/stuff, no?) of the
Phoenix doc which I could use to have a go at this.
Werner
On 01/04/2012 19:55, Andrea Gavana wrote:
...
>
> Please let me know if you see anything strange.
xoomer.virgilio.it/infinity77/Phoenix/RadioBox.html
The links for "Window", "Point", etc in the Info field list of __init__
don't work, i.e. I get this "http://xoom.virgilio.it/jump.html#window" page.
Werner
Nice work!
> a new set of documentation pages are available for Phoenix
> 2.9.4.80 at http://xoomer.virgilio.it/infinity77/Phoenix/main.html.
> 2) Integration of Chris' samples on wx.GridBagSizer (see
> http://xoomer.virgilio.it/infinity77/Phoenix/GridBagSizer.html#gridbagsizer).
> If someone thinks the samples are still too verbose (i.e., long), I
> can include them as separate downloads instead of inline samples in
> the docs;
I think that's OK for ones that size, but yes, for larger ones they
should probably not be inline.
Does Sphinx allow some kind of "hiding"? i.e. some nifty javascript
that would let us put the example inline, but only show the first few
lines (or a description) be default, and the user could click on
something to get the whole thing?
I'm going to need to figure out a place to put larger examples, and
ones that show a concept, or how a few widgets work together, rather
than a single widget, class, whatever.
Maybe a whole section of the docs for small tests and examples?
-Chris
> Please let me know if you see anything strange.
Looking good so far!
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Andrea,
Nice work!
> a new set of documentation pages are available for Phoenix
> 2.9.4.80 at http://xoomer.virgilio.it/infinity77/Phoenix/main.html.
> 2) Integration of Chris' samples on wx.GridBagSizer (seeI think that's OK for ones that size, but yes, for larger ones they
> http://xoomer.virgilio.it/infinity77/Phoenix/GridBagSizer.html#gridbagsizer).
> If someone thinks the samples are still too verbose (i.e., long), I
> can include them as separate downloads instead of inline samples in
> the docs;
should probably not be inline.
Does Sphinx allow some kind of "hiding"? i.e. some nifty javascript
that would let us put the example inline, but only show the first few
lines (or a description) be default, and the user could click on
something to get the whole thing?
I'm going to need to figure out a place to put larger examples, and
ones that show a concept, or how a few widgets work together, rather
than a single widget, class, whatever.
Maybe a whole section of the docs for small tests and examples?
> @Chris: I have implemented an "accordion" behaviour for the contributed
> samples; they can be expanded/collapsed (default is collapsed) and they
> contain a link to download the samples
> (see http://xoomer.virgilio.it/infinity77/Phoenix/GridBagSizer.html)
very cool! you are on a roll!
> It works in Chrome, IE7 and Firefox. I haven't tested on other browsers.
It seems to work fine in Safari, too (which shares an engine with
Chrome, so no real surprise)
really nice work!
-Chris
> --
> To unsubscribe, send email to wxPython-dev...@googlegroups.com
> or visit http://groups.google.com/group/wxPython-dev?hl=en
On Tue, Apr 3, 2012 at 11:35 AM, Andrea Gavana
very cool! you are on a roll!
> @Chris: I have implemented an "accordion" behaviour for the contributed
> samples; they can be expanded/collapsed (default is collapsed) and they
> contain a link to download the samples
> (see http://xoomer.virgilio.it/infinity77/Phoenix/GridBagSizer.html)
It seems to work fine in Safari, too (which shares an engine with
> It works in Chrome, IE7 and Firefox. I haven't tested on other browsers.
Chrome, so no real surprise)
really nice work!
Noticed a couple of small things.
http://xoomer.virgilio.it/infinity77/Phoenix/Button.html#button
- In the 4th para just after SetBitmapDisabled is "&c" shown
- Under the "BORDER_NONE" style the bitmap sizes are shown as 128128
instead of 128 x 128 etc.
Werner
Hi Andrea,
Noticed a couple of small things.
http://xoomer.virgilio.it/infinity77/Phoenix/Button.html#button
- In the 4th para just after SetBitmapDisabled is "&c" shown
- Under the "BORDER_NONE" style the bitmap sizes are shown as 128128 instead of 128 x 128 etc.
Hi Werner,
On 4 April 2012 11:15, Werner wrote:
Hi Andrea,
Noticed a couple of small things.
http://xoomer.virgilio.it/infinity77/Phoenix/Button.html#button
- In the 4th para just after SetBitmapDisabled is "&c" shown
This is because the wxWidgets docs are written in that way:
I suppose the "&c" stands for "and company" (meaning all the other similar methods).
Yep, a few of the core wx devs use it once in a while like I would use
"etc." I've always assumed that it was a common abbreviation in Europe.
--
Robin Dunn
Software Craftsman
http://wxPython.org
On 4/4/12 2:28 AM, Andrea Gavana wrote:Yep, a few of the core wx devs use it once in a while like I would use "etc." I've always assumed that it was a common abbreviation in Europe.
- In the 4th para just after SetBitmapDisabled is "&c" shown
This is because the wxWidgets docs are written in that way:
http://docs.wxwidgets.org/trunk/classwx_button.html
I suppose the "&c" stands for "and company" (meaning all the other
similar methods).