Mathias Hasselmann

SoC-Status 2007/06/19

Here comes a new Summer of Code status report.

Update: Learned from Federico and Matthias Clasen, that they usually comment out large parts of gtk-docs.sgml when doing documentation, well and that partly the Docbook stylesheets are too be blamed for the poor performance as they do alot of O(n^2) stuff.

Comments

Stefan Kost commented on June 21, 2007 at 2:58 p.m.

hi,
did you know that there is a user-manual for gtk-doc that telles you what to do? In bugzilla is also a perl hack that worksaround the slowness of the docbook scripts. Its the automatic index generation which is slow. As gtk-doc knows the api it could produce the index in no time at all. The only downside is that if you define index entries in your handwritten sgml they would be lost (which I don't see as a critical issue).

Mathias Hasselmann commented on June 21, 2007 at 4:10 p.m.

Hi Stefan,

Cool, you've got the very first post on the new taschenorakel site! :-)

Back on topic: I know that there are is a user-manual for gtk-doc and I've read it several times. Problem is, that the steps needed to make gtk-doc work are that cumbersome, that at least I regularly forget the details. Guess I just don't use often enough. Well, and when generating the GTK+ docs not only index generation is slow. Insane amounts of time are needed for all pages of those docs. Would like to improve gtk-doc, once the new layout manager is in trunk. Problem: I am incredibly bad in reading and understanding Perl code. So I put my hope in Apple's clang frontend for LLVM: It shall be implemented as C++ library and therefore should allow creating of a much better documentation and introspection tool for GObject, than the current gtk-doc tool.

Well, and this all doesn't change the fact, that gtk-doc ate a lot of time from me.