I want to re-generate the valadoc
for the gnome gio-2.0
library (that is part of glib
).
I'm aware that the complete documentation is available online.
I want to be able to generate it locally (ideally without having to rebuild the library myself).
Valadoc is able to generate the documentation from the gobject-introspection file (the gir file) that is created during the library compilation. This file contains all the definitions and comments.
Hopefully for me, a central repository is maintained by the vala team and the Gio-2.0.gir is available.
Now that I downloaded the file, I'm having issues invoking valadoc with the proper parameters.
The following commands:
valadoc --girdir=. --importdir=. --import=Gio-2.0 --pkg=gio-2.0 --force -o ./dist
or
valadoc --pkg=gio-2.0 --force -o ./dist
Returns
Succeeded - 0 warning(s)
And create an html with only the package names but no classes/methods/etc.
Could you help me to invoke valadoc properly?
note : for anyone curious about how the complete valadoc.org gets generated, the scripts and apps are available.