Skip to content

Commit

Permalink
docs: Fix gtkdoc-scanner arguments so functions are found
Browse files Browse the repository at this point in the history
gtk-doc stopped finding all the functions at some point. This appears to
be related to the VALA_EXPORT macro, which is declared further up in the
file.

Explicitly ignoring that decorator makes the documentation generator
work again.
  • Loading branch information
Benjamin Berg authored and benzea committed May 16, 2022
1 parent 1541a35 commit e21b46c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/reference/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ gnome.gtkdoc('umockdev',
src_dir: [meson.build_root()],
content_files: [version_xml],
gobject_typesfile: 'umockdev.types',
scan_args: ['--ignore-decorators', 'VALA_EXTERN'],
ignore_headers: ['uevent_sender.h', 'ioctl_tree.h', 'debug.h'],
dependencies: [glib, gobject, declare_dependency(link_with : [umockdev_lib])],
install: true,
Expand Down

0 comments on commit e21b46c

Please sign in to comment.