Re: Finding API documentation by function name
- From: Stefan Kost <ensonic hora-obscura de>
- To: Raja Mukherji <rajamukherji gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Finding API documentation by function name
- Date: Sun, 02 Dec 2007 20:36:37 +0200
Raja Mukherji schrieb:
I'm writing a binding generator for my language to Gtk and want the
generator to be able to insert documentation into the generated code
automatically. Is there any existing program/script for getting the
documentation associated with a specific api function? For example:
could print out the lines (as copied from devhelp):
Creates a new GtkAboutDialog.
a newly created GtkAboutDialog
Or it could (preferably) print them out in XML, or some other structured format.
I could probably fashion something myself, possibly from the files
that devhelp generates, but I was wondering if anyone has already done
so, or knows of any existing solution.
Gtk-doc uses docbook-xml, so you could use xslt to cut out chunks. Unfortunately
most stuff should not be copied to bindings docs as arguments can change and
c-specific things are not needed there.
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
] [Thread Prev