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/snippets | |
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/snippets')
-rw-r--r-- | docs/markdown/snippets/gtkdoc.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/markdown/snippets/gtkdoc.md b/docs/markdown/snippets/gtkdoc.md new file mode 100644 index 0000000..f1f4ed4 --- /dev/null +++ b/docs/markdown/snippets/gtkdoc.md @@ -0,0 +1,11 @@ +## gtkdoc-check support + +`gnome.gtkdoc()` now has a `check` keyword argument. If `true` runs it will run +`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. + +## `gnome.gtkdoc()` returns target object + +`gnome.gtkdoc()` now 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). |