GNOME Bugzilla – Bug 74016
make gtk-doc use nicks and blurbs to document properties
Last modified: 2004-12-22 21:47:04 UTC
Here is a patch to make gtk-doc emit nicks and blubs in the .args file and use the blurbs to generate docs.
Created attachment 7058 [details] [review] the patch
Using the patched gtk-doc on gtk leads to some redundancy, since currently a number of properties have extra docs in the templates. If the patch gets merged, I'd volunteer to quickly reduce the redundancy by moving all property docs from the templates to blurbs.
Yes, it seems reasonable to use those in the docs. Should you call CreateValidSGML() on the nicks/blurbs to convert and '<' to '<' etc.?
I guess so, will produce a new patch shortly. Another thing to take care of is ensuring that we extract the nicks/blurbs using C locale, since I think they're translated. Otherwise we may end up with German blurbs in an otherwise English manual.
Created attachment 7107 [details] [review] improved patch
Whats up with this, Damon ? Ok to commit ? I would like to revisit property documentation when this patch is in.
Reassigning all open gtk-doc bugs to gtk-doc-maint
This has been committed now (by accident). I have extended it to also output child properties and to warn about properties without blurbs. (see http://bugzilla.gnome.org/show_bug.cgi?id=57143)