doc: Add .types file for signals and properties

Without this the signals/properties are simply missing from the
documentation, which is obviously not very useful.
This commit is contained in:
Benjamin Berg 2021-03-17 10:41:48 +01:00
parent 47223e551f
commit 870468c741
2 changed files with 8 additions and 0 deletions

7
doc/libfprint-2.types Normal file
View file

@ -0,0 +1,7 @@
#include <libfprint-2/fprint.h>
fp_context_get_type
fp_device_get_type
fp_image_device_get_type
fp_image_get_type
fp_print_get_type

View file

@ -30,6 +30,7 @@ gnome.gtkdoc(versioned_libname,
content_files: content_files, content_files: content_files,
expand_content_files: expand_content_files, expand_content_files: expand_content_files,
ignore_headers: private_headers, ignore_headers: private_headers,
gobject_typesfile: 'libfprint-2.types',
fixxref_args: [ fixxref_args: [
'--html-dir=@0@'.format(docpath), '--html-dir=@0@'.format(docpath),
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'glib')), '--extra-dir=@0@'.format(join_paths(glib_docpath, 'glib')),