gnome: add 'ignore_headers' to permitted kwarg list for gnome.gtkdoc()

pull/2185/head
Tim-Philipp Müller 8 years ago committed by Jussi Pakkanen
parent 192d0dd0a7
commit 60b83a5f0a
  1. 1
      docs/markdown/Gnome-module.md
  2. 2
      mesonbuild/modules/gnome.py

@ -153,6 +153,7 @@ Compiles and installs gtkdoc documentation into `prefix/share/gtk-doc/html`. Tak
* `html_assets`: a list of assets for the HTML pages
* `content_files`: a list of content files
* `mkdb_args`: a list of arguments to pass to `gtkdoc-mkdb`
* `ignore_headers`: a list of header files to ignore
This creates a `$module-doc` target that can be ran to build docs and normally these are only built on install.

@ -692,7 +692,7 @@ class GnomeModule(ExtensionModule):
@permittedKwargs({'main_xml', 'main_sgml', 'src_dir', 'dependencies', 'install',
'install_dir', 'scan_args', 'scanobjs_args', 'gobject_typesfile',
'fixxref_args', 'html_args', 'html_assets', 'content_files',
'mkdb_args'})
'mkdb_args', 'ignore_headers'})
def gtkdoc(self, state, args, kwargs):
if len(args) != 1:
raise MesonException('Gtkdoc must have one positional argument.')

Loading…
Cancel
Save