|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Without autotoolsI have a very small program called mebitag and I'd like to document its
library without an ugly doxygen logo on the html. I think this is a reasonable request but every time I try gtk-doc, it tells me I get 3% documentation and fills the html files with data structures that are all missing comments. I am doing this all from the libmebi directory which contains: Makefile dbops.h dbquery.h fileio.c mebitag.7 dbops.c dbquery.c errors.h fileio.h types.h The comments all follow this format: http://pastebin.com/mc8edc76 What I'm doing (using gtk-doc.make as a guide) is: gtkdoc-scan --module=libmebi --source-dir=. gtkdoc-scangobj --module=libmebi --output-dir=. Then this fails because I hate figuring out how to quote shell variables so I then run: gcc -o libmebi-scan `pkg-config --cflags --libs gtk+-2.0` libmebi-scan.c Then I take every file that ends in .new and make a copy of it that doesn't end in .new, then I run: gtkdoc-mktmpl --module=libmebi gtkdoc-mkdb --module=libmebi --output-format=xml --main-sgml-file=libmebi.sgml mkdir html && cd html && gtkdoc-mkhtml --path=. libmebi ../libmebi.sgml This produces the empty html and I have tried for days without finding a way around that. I could edit the html to put comments in but that greatly defeats the purpose. Any help would be much appreciated. _______________________________________________ gtk-doc-list mailing list gtk-doc-list@... http://mail.gnome.org/mailman/listinfo/gtk-doc-list |
|
|
Re: Without autotoolsIl giorno Tue, 11 Aug 2009 13:48:33 -0400
Connor Behan <connor.behan@...> ha scritto: > The comments all follow this format: http://pastebin.com/mc8edc76 Hi, the docblocks look good to me: the problem is not there. > What I'm doing (using gtk-doc.make as a guide) is: > > gtkdoc-scan --module=libmebi --source-dir=. > gtkdoc-scangobj --module=libmebi --output-dir=. > > Then this fails because I hate figuring out how to quote shell gtkdoc-scangobj requires a project based on GObject and if libmebi is not such kind of project this step is useless (in your case harmful too). Just touch the required files, probably: libmebi.types libmebi.args libmebi.hierarchy libmebi.interfaces libmebi.prerequisites libmebi.signals and jump directly to the gtkdoc-mktmpl step. There will probably be other adjustments to do: a link to the sources would be more helpful. Ciao -- Nicola _______________________________________________ gtk-doc-list mailing list gtk-doc-list@... http://mail.gnome.org/mailman/listinfo/gtk-doc-list |
|
|
Re: Without autotoolshi,
On 3:33:43 pm 12/08/2009 Nicola Fontana <ntd@...> wrote: > Il giorno Tue, 11 Aug 2009 13:48:33 -0400 > Connor Behan <connor.behan@...> ha scritto: > > > The comments all follow this format: http://pastebin.com/mc8edc76 > > Hi, > > the docblocks look good to me: the problem is not there. > > > What I'm doing (using gtk-doc.make as a guide) is: > > > > gtkdoc-scan --module=libmebi --source-dir=. > > gtkdoc-scangobj --module=libmebi --output-dir=. > > > > Then this fails because I hate figuring out how to quote shell Whats the error? > > gtkdoc-scangobj requires a project based on GObject and if libmebi is > not such kind of project this step is useless (in your case harmful > too). Just touch the required files, probably: > > libmebi.types > libmebi.args > libmebi.hierarchy > libmebi.interfaces > libmebi.prerequisites > libmebi.signals > > and jump directly to the gtkdoc-mktmpl step. There will probably be > other adjustments to do: a link to the sources would be more helpful. > If you have the doc-comment inside the sources, you can also skip the gtkdoc-mktmpl step. Users of autotools get the same behaviour when running gtkdocize --flavour=no-tmpl. Stefan > Ciao > -- > Nicola > _______________________________________________ > gtk-doc-list mailing list > gtk-doc-list@... > http://mail.gnome.org/mailman/listinfo/gtk-doc-list _______________________________________________ gtk-doc-list mailing list gtk-doc-list@... http://mail.gnome.org/mailman/listinfo/gtk-doc-list |
|
|
|
| Free embeddable forum powered by Nabble | Forum Help |