aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter.py
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2016-11-01 12:13:36 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2016-11-01 14:11:48 +0000
commite226d702bc0ae0dbe15872a54e0743b197b37851 (patch)
treef84486bf798bff5339d88b2a98060c3c2c087cef /mesonbuild/interpreter.py
parent6eeecb8585aed84759f968efb315e97db0cc8e52 (diff)
downloadmeson-e226d702bc0ae0dbe15872a54e0743b197b37851.zip
meson-e226d702bc0ae0dbe15872a54e0743b197b37851.tar.gz
meson-e226d702bc0ae0dbe15872a54e0743b197b37851.tar.bz2
gtkdoc: Add `ignore_headers` positional argument
Not all headers are public, or contain public types. GTK-Doc allows adding headers to be ignored during the "scan" phase, by passing the `--ignore-headers` command line argument to gtkdoc-scan. Currently, you can do something like: ignored_headers = [ 'foo-private.h', 'bar-private.h', ] gnome.gtkdoc(... scan_args: [ '--ignore-headers=' + ' '.join(ignored_headers), ], ...) But it does not guarantee escaping rules and it's definitely not nice. We can add a simpler version of that mechanism through a new positional argument, `ignore_headers`, which behaves like `content_files` or `html_assets`, and takes an array of header files to ignore: gnome.gtkdoc(... ignore_headers: ignored_headers, ...)
Diffstat (limited to 'mesonbuild/interpreter.py')
0 files changed, 0 insertions, 0 deletions