aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMathieu Duponchelle <mathieu@centricular.com>2018-08-09 17:34:55 +0200
committerMathieu Duponchelle <mathieu@centricular.com>2018-08-09 17:34:55 +0200
commit6ea939dd5fb1401f87b57f72e1479aab3382069c (patch)
tree75247e36f21a4a5d71854cefc448f4519a6cde6a /docs
parent8377ea45aa61efbe8e1a75b74cc75a40d3081be2 (diff)
downloadmeson-6ea939dd5fb1401f87b57f72e1479aab3382069c.zip
meson-6ea939dd5fb1401f87b57f72e1479aab3382069c.tar.gz
meson-6ea939dd5fb1401f87b57f72e1479aab3382069c.tar.bz2
gnome.generate_gir: support generating gir for multiple libraries
Fixes #3688
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/Gnome-module.md13
-rw-r--r--docs/markdown/snippets/generate_gir_multiple_libraries.md7
2 files changed, 16 insertions, 4 deletions
diff --git a/docs/markdown/Gnome-module.md b/docs/markdown/Gnome-module.md
index 6b63f8a..cc85d87 100644
--- a/docs/markdown/Gnome-module.md
+++ b/docs/markdown/Gnome-module.md
@@ -67,10 +67,15 @@ executable(
### gnome.generate_gir()
-Generates GObject introspection data. Takes one positional argument,
-the build target you want to build gir data for. There are several
-keyword arguments. Many of these map directly to the `g-ir-scanner`
-tool so see its documentation for more information.
+Generates GObject introspection data.
+
+Takes one or more positional arguments:
+
+Either one or more library objects you want to build gir data for, or a single
+executable object.
+
+There are several keyword arguments. Many of these map directly to the
+`g-ir-scanner` tool so see its documentation for more information.
* `dependencies`: deps to use during introspection scanning
* `extra_args`: command line arguments to pass to gir compiler
diff --git a/docs/markdown/snippets/generate_gir_multiple_libraries.md b/docs/markdown/snippets/generate_gir_multiple_libraries.md
new file mode 100644
index 0000000..3541b71
--- /dev/null
+++ b/docs/markdown/snippets/generate_gir_multiple_libraries.md
@@ -0,0 +1,7 @@
+## gnome.generate_gir() now optionally accepts multiple libraries
+
+The GNOME module can now generate a single gir for multiple libraries, which
+is something `g-ir-scanner` supported, but had not been exposed yet.
+
+gnome.generate_gir() will now accept multiple positional arguments, if none
+of these arguments are an `Executable` instance.