Print out contents of *-{undocumented,unused,undeclared}.txt in gtkdoc-check output
It would be useful if the contents of the *-{undocumented,unused,undeclared}.txt
files were printed by gtkdoc-check
on failure, so that they end up in build logs. This could be conditional on (e.g.) passing --verbose
to gtkdoc-check
.
It would make the current output from gtkdoc-check
in the build logs more helpful. Currently it is:
--- command ---
DOC_MAIN_SGML_FILE='gio-docs.xml' DOC_MODULE='gio' BUILDDIR='/opt/gnome/build/glib/docs/reference/gio' /opt/gnome/install/bin/gtkdoc-check
--- stdout ---
Running suite(s): gtk-doc-gio
gio-undocumented.txt:1:E: 15 undocumented or incomplete symbols
gio-undeclared.txt:1:E: 48 undeclared symbols
50.0%: Checks 4, Failures: 2