diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2019-07-16 15:50:33 -0400 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-07-16 22:50:33 +0300 |
commit | f5da88112667fddb991ee455c051c9453b2542c1 (patch) | |
tree | 1afabfa522d6c8b9186107ec1d01f424ef47b60b /docs/markdown/Gnome-module.md | |
parent | 9bb6093fa08d665f49926eab3871923be40b5110 (diff) | |
download | meson-f5da88112667fddb991ee455c051c9453b2542c1.zip meson-f5da88112667fddb991ee455c051c9453b2542c1.tar.gz meson-f5da88112667fddb991ee455c051c9453b2542c1.tar.bz2 |
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.
Diffstat (limited to 'docs/markdown/Gnome-module.md')
-rw-r--r-- | docs/markdown/Gnome-module.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/markdown/Gnome-module.md b/docs/markdown/Gnome-module.md index dcd843f..9d8029e 100644 --- a/docs/markdown/Gnome-module.md +++ b/docs/markdown/Gnome-module.md @@ -339,10 +339,16 @@ of the module. * `scanobjs_args`: a list of arguments to pass to `gtkdoc-scangobj` * `c_args`: (*Added 0.48.0*) additional compile arguments to pass * `src_dir`: include_directories to include +* `check`: (*Since 0.52.0*) if `true` runs `gtkdoc-check` when running unit tests. + Note that this has the downside of rebuilding the doc for each build, which is + often very slow. It usually should be enabled only in CI. This creates a `$module-doc` target that can be ran to build docs and normally these are only built on install. +*Since 0.52.0* Returns a target object that can be passed as dependency to other +targets using generated doc files (e.g. in `content_files` of another doc). + ### gnome.gtkdoc_html_dir() Takes as argument a module name and returns the path where that |