Re: PHP-Gtk2-Docs are ready for doccing!
| From: | Christian Weiske | Date: | Fri, 22 Apr 2005 20:24:46 +0000 |
| Subject: | Re: PHP-Gtk2-Docs are ready for doccing! | ||
| References: | 1 | Groups: | php.gtk.doc |
| Request: | Send a blank email to php-gtk-doc+get-1397@lists.php.net to get a copy of this message | ||
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: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc