[Vala] [valadoc][patch] Recognize namespace comments



Hi,

I noticed valadoc just ignores my valadoc comment for a namespace.

It turned out that it would only add it to the generated HTML if the
comment was in an apparently randomly chosen (probably not really
random) source file.

I have no clue how libvala and valadoc work, but using some trial and
error, I came up with the following patch that works for me. Obviously,
it's only for 0.14.x (and probably 0.13.x). Not sure if it works for
anyone else, just thought I'd post it here for others with the same
problem, and maybe someone who has a clue (Florian Brosch, do you read
this list?) can decide wheter or not the current implementation is
correct or how to fix it.

There's something in the bug tracker that might be related:
https://bugzilla.gnome.org/show_bug.cgi?id=662793

Hopefully posting with attachment to this list works. :)

Best regards,
Florian

Attachment: hacky-fix-for-namespace-comments
Description: Text document



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