1
0
mirror of https://gitlab.gnome.org/GNOME/glib.git synced 2025-07-15 22:53:34 +02:00

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

@ -53,6 +53,7 @@ fedora-x86_64:
-Ddtrace=true
-Dfam=true
-Dinstalled_tests=true
-Dgtk_doc=true
_build
- ninja -C _build
- mkdir -p _coverage

@ -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

@ -88,7 +88,8 @@ if get_option('gtk_doc')
fixxref_args: [
'--html-dir=' + docpath,
],
install: true)
install: true,
check: true)
endif
if get_option('man')

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