doc: Run gtkdoc-check with unit tests

This has the side effect of always rebuilding the doc at each build when
gtk_doc option is enabled (not by default). Most importantly, this will
enable doc check on our CI.
This commit is contained in:
Xavier Claessens
2019-07-09 15:51:32 -04:00
parent 74bb6c98cb
commit 09d995286b
4 changed files with 7 additions and 3 deletions

View File

@@ -209,7 +209,8 @@ if get_option('gtk_doc')
'--extra-dir=' + join_paths('gio', '..', 'glib', 'html'),
'--extra-dir=' + join_paths('gio', '..', 'gobject', 'html'),
],
install: true
install: true,
check: true,
)
endif