Re: Building glib docs

On Sun, 2004-06-20 at 12:18, Russell Shaw wrote:
> Hi,
> With glib from cvs, i added a function to glib/glib/ghash.c
> and glib/glib/ghash.h and did ./configure --enable-gtk-doc
> then make.
> glib/docs/reference/glib/tmpl/hash_tables.sgml did not
> get updated. So, i added to it manually, but the next
> build regenerated the file without the changes.
> How do i get it to work? 

You need to add the function to docs/reference/glib/glib-sections.txt
and then gtk-doc will pick up your doc comment and integrate
into the docs. There is usually no reason to touch the tmpl/
files for function docs.

> Also, how can i just build
> the docs without rebuilding the rest of glib?

The docs take longer to build then the rest of GLib,
usually... but if you cd into the docs/ directory
and type make there, then you aren't going to rebuild
the rest of GLib. (You have to build the rest of GLib
at least once though)


Attachment: signature.asc
Description: This is a digitally signed message part

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]