Re: creating a doc from several lib



On Tue, 2004-02-10 at 20:04, Vincent Torri wrote:
> hello
> 
> i am using gtkdoc to create an api doc of several lib (say lib1 and
> lib1). The source code of these libs are resp. in top/lib1/src and
> /top/lib2/src.
> 
> with gtkdoc, what i can make is two different docs (exactly as the gtk gdk
> and gkpixbuf (in the gtk source code), where three docs are created in
> each subdirectories of gtk+-2.2.4/docs/referecence). I have already
> created them.
> 
> That is not exactly what i want: I want one doc with two chapters (for
> example), coresponding to the doc of lib1 and lib2.
> 
> My questions are : 
> 
> Is it possible to parse the two subdirectories /lib1/src and lib2/src in
> order to create this single doc ??

You can create a single doc, just by setting DOC_SOURCE_DIR to the root
directory of the project, i.e. 'top' in your case. It will then scan the
entire directory hierarchy beneath that.

Backup your current docs first though, in case it messes them up.

Damon





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