mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-23 10:27:51 +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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user