Commit Graph

39 Commits

Author SHA1 Message Date
TheQwertiest 96609da8d2 docs: replaced `ninja` with appropriate `meson` commands [skip ci] 2020-06-18 17:47:10 +03:00
Xavier Claessens 0b4cf5a844 gnome: Add fatal_warnings kwarg to generate_gir()
Fixes: #7130
2020-06-16 08:21:35 -04:00
Jon Turney 3babaaaeec Tweak gnome.gtkdoc() documentation for clarity and grammar 2020-06-13 18:48:35 +00:00
坂本 貴史 5f8d89b707
docs: remove duplicated entry for gnome.generate_gir() documentation [skip ci]
The documentation of gnome.generate_gir() has duplicated entry for
dependencies parameter. As a fix, this patch removes the entry added
recently.

Fixes: 893d101fff ("gnome: Add header kwarg to generate_gir()")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
2020-06-12 00:33:47 +03:00
Anton Leontiev 603b1ac287 docs: Fix some incorrect links [skip ci] 2019-10-19 19:14:10 +03:00
Xavier Claessens f5da881126 gtkdoc: Add 'check' kwarg (#5591)
* gtkdoc: Add 'check' kwarg

This runs gtkdoc-check in meson tests.

Also reorganize the gtkdoc test because we cannot reliably build
multiple doc into the same directory. Not all files generated by gtk-doc
are prefixed with the target name.
2019-07-16 22:50:33 +03:00
Iñigo Martínez e78fd7e8c5 docs: Add missing `namespace` parameter documentation [skip ci]
Although the `namespace` parameter was implemented in 0.37, its
documentation is still missing.

It has been added to the `gtkdoc`'s  documentation.
2018-11-20 22:50:21 +02:00
Marco Trevisan (Treviño) 5bec6c28e7 gnome: add support for `module_version`
gtk-doc for autotools has the concept of module version, that is used to define
the module install path and the devhelp2 basename.

Add a `module_version` parameter to gnome.gtkdoc to replicate the same behavior.
Updated the test checking that the install_dir is properly computed (if not
passed), and that the .devhelp2 file has proper name.

https://gitlab.gnome.org/GNOME/gtk-doc/blob/GTK_DOC_1_29/buildsystems/autotools/gtk-doc.make#L269
2018-09-21 09:13:21 +02:00
Marco Trevisan (Treviño) 2b6fa3dd3b docs, Gnome-module: document include_directories in gtkdoc
This parameter is supported for some time but has never been documented.
2018-09-21 09:13:21 +02:00
Iñigo Martínez eb7ed4dafb gnome.gtkdoc: Add new c_args parameter
gtkdoc-scangobj also accepts compiler arguments. In the same way
that include_directories includes directories, the new c_args
parameter also appends compiler arguments.
2018-09-17 21:27:02 +03:00
Mathieu Duponchelle 6ea939dd5f gnome.generate_gir: support generating gir for multiple libraries
Fixes #3688
2018-08-09 17:34:55 +02:00
TingPing 544164b151
docs: Minor clarifications of gnome.compile_resources
This was causing confusion for a user about the fact any directory can be passed
2018-07-11 15:36:24 +02:00
Robert Ancell 375dcd546a gdbus_codegen: Support --c-generate-autocleanup 2018-06-08 12:36:50 +00:00
Robert Ancell 83665a482a gdbus_codegen: Support arbitrary extra arguments 2018-06-07 15:14:07 +00:00
Nirbheek Chauhan 2993eaf884 docs: Update gnome.gdbus-codegen docs 2018-04-20 18:24:18 +00:00
Nirbheek Chauhan d7b401f7d7 gdbus_codegen: Return 2 targets when docbook is disabled
Also document this behaviour, test it, and fix the return value from
the module -- we create one target and return it thrice to the build
file
2018-04-11 21:30:47 +05:30
Iñigo Martínez 351b59f03a gnome: Split header and code targets in gdbus_codegen()
The development version of `glib` (2.55.2) has acquired support for
generating gdbus header and source code files separately. This
allows dependencies to be more fine grained on those targets
depending only on the header.
2018-04-11 17:22:12 +02:00
Eduardo Lima (Etrunko) ccd198a849 Gnome-module.md: Add information about output files to mkenums()
[skip ci]
2018-03-07 19:57:47 +02:00
Daniel Foré a99ae81043 Add an example for gresource 2018-02-13 21:26:43 +02:00
Michael James Gratton 93c988b453 Enable re-compilation of GNOME gschema files if they have changed.
* mesonbuild/modules/gnome.py (GnomeModule.compile_schemas): Allow the
  depend_files kwarg.

* docs/markdown/Gnome-module.md: Add docs for new kwarg (and the only
  other one that is permitted).
2017-12-13 21:31:32 +02:00
Rico Tzschichholz 8b8e1ee620 gnome: g-ir-scanner accepts multiple symbol-prefix arguments 2017-10-08 14:04:34 +03:00
TingPing fd774fcb43 docs: Use consistent whitespace for gnome kwargs 2017-10-05 12:11:03 -04:00
Patrick Griffis 893d101fff gnome: Add header kwarg to generate_gir()
This is a commonly used flag so lets make it more obvious.
2017-10-01 20:15:21 +03:00
Iñigo Martínez 540c928e30 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.
2017-09-12 20:29:24 +03:00
Patrick Griffis 04b2c67b7d gnome.gdbus_codegen(): Add annotations keyword
Fixes #2123
2017-09-04 19:26:04 +03:00
Jussi Pakkanen 55dfe75fd7 Rewrapped and alphabetized the Gnome module. 2017-08-21 00:18:33 +03:00
Tim-Philipp Müller 4e476c82f3 gnome: add mkenums_simple()
99% of all mkenums uses in C libraries use the same basic template,
so add a mkenums_simple() function that takes care of everything for
us based on that template.

Features:
 - optional function declaration decorator such as GLIB_AVAILABLE
 - optional extra header prefix (e.g. for include needed for decorator)
 - optional extra body prefix (e.g. for additional includes)
 - optional function name prefix (e.g. to add leading underscores)

Fixes issue #1384
2017-08-14 19:40:36 +03:00
Tim-Philipp Müller 60b83a5f0a gnome: add 'ignore_headers' to permitted kwarg list for gnome.gtkdoc() 2017-08-13 21:17:04 +03:00
Emmanuele Bassi 6ba6c174ba Document the newly added gnome.genmarshal() argument 2017-07-23 16:30:34 +01:00
Nirbheek Chauhan 04ac7a4844 gnome.gtkdoc: Handle absolute install_dirs correctly
Must prepend DESTDIR in case it's absolute. Also document that by
default it is relative to the gtk-doc html directory.
2017-07-17 12:40:41 +05:30
Patrick Griffis 39c75d39fb docs: Fix version reference 2017-06-22 06:02:50 -04:00
Patrick Griffis a88ad9173a gnome.yelp(): Default symlink_media to true 2017-06-10 12:42:28 -04:00
Sam Thursfield 22cfd44221 Document that the gnome.generate_vapi() function can install the .vapi 2017-06-08 23:35:14 +03:00
Emmanuele Bassi f0a32ced54 Document the mkdb_args argument for gnome.gtkdoc()
Include the newly added argument.
2017-06-07 18:17:20 +01:00
TingPing e351b39430 docs: Add mention of target made by gnome.gtkdoc()
Mentioned in #1844
2017-05-24 19:52:46 +03:00
Günther Wutz 63c4c54a64 Updated gnome module command 2017-05-07 12:10:22 +02:00
Elliott Sales de Andrade b80d40c287 doc: Capitalize things more consistently.
Upper or lower case depending on the official spelling, or the more
consistent usage.
2017-05-03 16:20:51 -04:00
Patrick Griffis a6775233c7 docs: Document missing gnome.compile_resources() kwargs 2017-05-02 22:14:39 +03:00
Thibault Saunier b371875e02 docs: Import the website and wiki and build with hotdoc
This allows us to more easily have the documentation in sync with
the source code as people will have to document new features etc
right at the time where they implement it.
2017-04-26 17:56:33 +03:00