GNOME Bugzilla – Bug 303563
Support pared-down template files
Last modified: 2005-05-16 15:47:51 UTC
For a project that is putting all symbol docs inline, the updating of template files is just a source of CVS conflicts. One approach is to put the section docs inline, but editing long section docs in comments is a bit annoying, so here's a patch that adds a --only-section-tmpl option to gtkdoc-mktmpl. The effect is that all symbol documentation is excluded from the template files.
Created attachment 46238 [details] [review] Patch implementing --only-section-tmpl
Looks fine. Though at some point I would prefer to get rid of the template files altogether, and just use an 'include' feature to include long descriptions where needed.
2005-05-10 Owen Taylor <otaylor@redhat.com> * gtkdoc-mktmpl.in (OutputTemplateFile): Add an --only-section-tmpl flag so that projects that keep everything but section descriptions inline can avoid cvs conflicts. * gtk-doc.make examples/Makefile.am: Add support for MKTMPL_OPTIONS