Re: PHP-Gtk2-Docs are ready for doccing!

From: Date: Fri, 22 Apr 2005 20:42:00 +0000
Subject: Re: PHP-Gtk2-Docs are ready for doccing!
References: 1 2  Groups: php.gtk.doc 
Request: Send a blank email to php-gtk-doc+get-1399@lists.php.net to get a copy of this message
Christian - Thanks. This is exactly what I needed. I will get started setting up a cvs enviro over the weekend. And then check back in before I actually start working on any of it. And yes, I agree on the doc 'how to'. Madeleine D. At 10:24 PM 4/22/05 +0200, Christian Weiske wrote: >Hi Madeleine, > > >> Back to my original question. What do we need to know to help out? >1. First, you need a cvs client. If you're on windows, you could install >a cygwin/mingw32 environment or use wincvs. > >2. check out the docs via >> cvs -d :pserver:cvsread@cvs.php.net:/repository co php-gtk-doc > >3. Have a look at the manual/en/ directory, all the source files for >the english documentation are there. > >4. Select a topic you want to write. > >5. Make an example script which covers all the things resp. all the >functions of the class - that helps to understand what the functions do > >6. Maybe you should have a look at the pygtk and gtk2 manual and what >they write on this function > >7. Write the docs. If you don't know docbook, you could have a look at >the old php-gtk documentation. Check it out with >> cvs -d :pserver:cvsread@cvs.php.net:/repository co -r PHP_GTK_1 >php-gtk-doc >and look how it's done there. The most important tags: > ><para> is the base for every textual description, but can contain nearly >every other tag. ><simpara> is for simple textual descriptions. >Surround class names with <classname> to have them linked automatically. >Surround parameter names with <parameter> tags. >You can link to other parts of the manual with this tags: ><function class="GtkWidget">drag_dest_unset</function> ><signalname class="GtkWidget">drag-data-received</signalname> > >If you checked out the old docs, look at >gtk.gtkwidget.method.drag_dest_set >for a good example. > >8. If you've installed an xslt processor, you can generate the manual with >> ./gen_manual.sh en html > > >If you don't have a cvs account, you can send the changed files to me >and I will commit them. If you know you're willing to actively help >further with more parts of the manual, get a cvs account for php. >Use this page then: http://www.php.net/cvs-php.php > > >Hope this helps a bit. Just ask if something is not clear. > >@all: maybe we should add a "doccing-howto" to the manual. This mail >might be a (good?) start. > > >Regards/MfG, >Christian Weiske >-- >XMMS is playing now: >Reamonn - Falling Down > >Attachment Converted: "d:\internet\Eudora32\ATTACHS\signature9.asc" >

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