Commit Graph

20 Commits

Author SHA1 Message Date
Khaled Hosny b4b089c427 [docs] Disable gtdoc-check by default
It slows build as it causes documentation to be always rebuilt. We now
disable it by default and enable it on relevant CI jobs.
2023-03-06 06:06:06 +02:00
Khaled Hosny 7188c5643a [doc] Enable gtkdoc-check
Should catch the most blatant issues.
2023-02-11 20:59:44 +02:00
Khaled Hosny 12f2ecbddb [doc] Generate hb-supported-features.h
See inline comment.
2023-01-24 00:15:48 +02:00
Khaled Hosny 1f3c042ff5 [doc] Don’t automatically skip building docs on Windows
Respect the option setting.
2022-12-24 17:33:54 +02:00
Khaled Hosny fc8fa18418 Revert "[doc] Don’t skip building on Windows"
This reverts commit 196e739cf2.
2022-12-20 19:04:41 +02:00
Khaled Hosny 6d80aba49e Revert "[doc] Remove redundant check for gtkdoc-scan"
This reverts commit 0409363f77.

Broke lots of bots.
2022-12-20 19:01:25 +02:00
Khaled Hosny 0409363f77 [doc] Remove redundant check for gtkdoc-scan
If docs are enabled, meson will fail earlier of gtkdoc-scan is missing.
2022-12-20 18:42:13 +02:00
Khaled Hosny 196e739cf2 [doc] Don’t skip building on Windows
We don’t enable building docs by default, so if one asked explicitly for
it we shouldn’t be overriding that.
2022-12-20 18:41:01 +02:00
Khaled Hosny 734e5f7cf4 [doc] Add HB_DEPRECATED_FOR to --ignore-decorators
Does not make a difference, though.
2022-12-19 00:15:04 +02:00
Khaled Hosny 69d8f27c69 [meson] Require 0.55.0
We implicitly require it for building ragel subproject. This new version
requirement should satisfied in both Fedora 33 and Debian bullseye, and
not be too cutting edge for us.
2021-11-22 03:11:36 +02:00
Khaled Hosny 9b8be9643c [docs] Ignore hb-gobject headers
Fixes https://github.com/harfbuzz/harfbuzz/issues/2797
2021-01-20 14:23:37 -08:00
Khaled Hosny 2a6a49c90b [meson] Don’t scan files outside src for docs
Similar to what we do in Makefile.am.
2021-01-20 14:22:38 -08:00
Khaled Hosny bfe4bbfc05 [docs] Older GTK-Doc does not support HB_DEPRECATED_FOR() at all
Fixes CI build failure.
2020-12-27 13:53:04 -08:00
Khaled Hosny 4161146e62 [docs] Fix generated docs for deprecated symbols
Without ignoring HB_DEPRECATED, most deprecated symbols get missing from
documentation. Ignoring HB_DEPRECATED_FOR does not work, but this seems
to be a GTK-Doc bug.
2020-12-27 13:53:04 -08:00
Ebrahim Byagowi 6e32145dc9 [meson] Make compatbile with 0.47.0 2020-08-13 18:28:42 +04:30
Ebrahim Byagowi f9ac6ddbef
[meson] Rename 'gtk_doc' option to 'docs' 2020-07-22 17:53:04 +04:30
Ebrahim Byagowi 175d93bbda
[mesos/docs] fix gobject headers ignoring logic
fixes #2463
2020-06-20 14:03:10 +04:30
Ebrahim Byagowi a9e8328ae2 [meson] Add build configuration summary just like autotools 2020-05-21 19:29:32 +04:30
Ebrahim Byagowi f7562672f9 [meson] Use / instead join_paths
We need some of the very recent features of meson, let's use the new features also
2020-05-21 18:52:31 +04:30
Tim-Philipp Müller 3dd7b2105b meson: build documentation with gtk-doc
Fixes https://github.com/harfbuzz/harfbuzz/issues/2409
2020-05-18 13:56:46 +04:30