Fw: [PHP-GTK-DOC] Notes affecting manual contributors

From: Date: Sat, 25 Mar 2006 17:04:46 +0000
Subject: Fw: [PHP-GTK-DOC] Notes affecting manual contributors
Groups: php.gtk.doc 
Request: Send a blank email to php-gtk-doc+get-1961@lists.php.net to get a copy of this message
Hold back for bets, it looks like that might be a _real_ CVS problem...! ----- Original Message ----- From: "Steph Fox" <steph@zend.com> To: "PHP-GTK doc" <php-gtk-doc@lists.php.net> Sent: Saturday, March 25, 2006 6:48 PM Subject: [PHP-GTK-DOC] Notes affecting manual contributors
Hi all, I just committed the actual manual files (the XML ones under /manual) so that you can get back to doing your thing over the weekend, assuming you want to :) Andrei, something weird's going down with CVS - ViewCVS can't see HEAD as anything but a bunch of dead files. Can you investigate, please? Build changes will be in shortly, I just hit a snag when I found I've somehow managed to get rid of links in method lists. Something in the autotoc, shouldn't take long to figure (famous last words)... Notes below affect everyone in the docs team, please read: GtkButton docs (particularly) need some tender loving care. Please can someone give them priority? "Constants: true, false and null are lowercase", according to our coding standards. I've brought the entire /gtk directory up to date in that regard. How to link to the various bits: <function class="GtkIconTheme">lookup_icon</function> <signalname class="GtkButton">clicked</signalname> <fieldname class="GtkCombo">list</fieldname> <optionname enum="GtkIconLookupFlags">Gtk::ICON_LOOKUP_FORCE_SVG</optionname> If you specify the class there'll be no confusion and it'll work _every_ time. If you don't, it'll more than likely link to the wrong place if the name happens to be used in more than one class (think of set_*() and you'll see the problem). Mostly we don't need to link to enum option values, but I know I missed having that choice last time around - so I added it in now. Enum values aren't targets in themselves; the link is to the 'enum' entry housing the given value. For that reason, you should use <literal>Gtk::ICON_LOOKUP_FORCE_SVG</literal> tags when referring to the option value within its 'home' enum definition. I've altered gtkenums.xml accordingly, but didn't look anywhere else yet, I just happened to be cleaning in there (some of the tags were disordered). Flag/enum markers: <enum id="gtk.enum.iconlookupflags" type="flags"> Note that if the type isn't specified, it should normally default to printing 'Enum'. I've out-commented this from the stylesheet for now, but it's potentially useful. I don't know what all your ideas are on the matter... in GTK+ 2, there seems to have been a policy of naming flags _as_ *Flags, which makes life easier all round. GtkAnchor docs are broken, the values aren't unique. Quite a lot of enums/flags have weird values, I'm just hoping all the others are for real. At present if the 'value' tag is empty the stylesheet generates values incrementing from 0, which was the standard set-up for enum in GTK+ 1 - but may not be in GTK+ 2. I don't know yet - does anyone? I've updated the docs license - it was reviewed, updated and released back in 2002 but I never noticed until now. It was issued in text and pure DocBook XML, which we don't use <sigh /> so it meant a lot of typing. I had to add a new attribute to reproduce their ordered list beginning with 0, so you can now have <orderedlist start="n"> in our version of 'PHPGTKDocBook XML'. Be happy... but note that the update also means we need to 'throw out' (comment out) any existing translated licenses. - Steph -- PHP-GTK Documentation Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __________ NOD32 1.1380 (20060125) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com


« previous php.gtk.doc (#1961) next »