aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2017-09-10 13:52:17 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2017-09-12 20:29:24 +0300
commit540c928e3009040a520459d2993a9dfa021c1a1a (patch)
treea3b459bc47b169155101fe59478f3630426968c1 /docs/markdown
parentb04c4fa878d9a1fc3ca9f7b6e4c613735d871476 (diff)
downloadmeson-540c928e3009040a520459d2993a9dfa021c1a1a.zip
meson-540c928e3009040a520459d2993a9dfa021c1a1a.tar.gz
meson-540c928e3009040a520459d2993a9dfa021c1a1a.tar.bz2
gnome: Docbook generation for gdbus_codegen()
Add new 'docbook' argument which generates Docbook documentation for each D-Bus interface. The docbook argument will be used as prefix in `PREFIX`-NAME.xml pattern, and NAME will be replaced by the D-Bus interfaces.
Diffstat (limited to 'docs/markdown')
-rw-r--r--docs/markdown/Gnome-module.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/markdown/Gnome-module.md b/docs/markdown/Gnome-module.md
index 3672761..99a9c8e 100644
--- a/docs/markdown/Gnome-module.md
+++ b/docs/markdown/Gnome-module.md
@@ -226,6 +226,7 @@ files and the second specifies the XML file name.
* `namespace`: namespace of the interface
* `object_manager`: *(Added 0.40.0)* if true generates object manager code
* `annotations`: *(Added 0.43.0)* list of lists of 3 strings for the annotation for `'ELEMENT', 'KEY', 'VALUE'`
+* `docbook`: *(Added 0.43.0)* prefix to generate `'PREFIX'-NAME.xml` docbooks
Returns an opaque object containing the source files. Add it to a top
level target's source list.
@@ -241,7 +242,8 @@ gdbus_src = gnome.gdbus_codegen('example-interface', 'com.example.Sample.xml',
namespace : 'Sample',
annotations : [
['com.example.Hello()', 'org.freedesktop.DBus.Deprecated', 'true']
- ]
+ ],
+ docbook : 'example-interface-doc'
)
```