Xavier Claessens
09d995286b
doc: Run gtkdoc-check with unit tests
...
This has the side effect of always rebuilding the doc at each build when
gtk_doc option is enabled (not by default). Most importantly, this will
enable doc check on our CI.
2020-01-29 15:54:53 +01:00
Philip Withnall
6761bb2f57
build: Factor out common gtkdoc flags
...
Those lists were getting very long. We can’t quite entirely automate the
list generation since Meson doesn’t have a range() function, but we can
at least combine three of them into one.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
2019-03-06 11:59:03 +00:00
Philip Withnall
e7d091dec1
gversionmacros: add version macros for GLib 2.62
...
Signed-off-by: Philip Withnall <withnall@endlessm.com>
2019-03-06 11:26:28 +00:00
Philip Withnall
c3ac761a18
build: Rename gobjectenumtypes.[ch] to glib-enumtypes.[ch]
...
To reflect the fact that they contain the GObject types for various
enums defined in libglib.
See https://gitlab.gnome.org/GNOME/glib/merge_requests/481#note_451086 .
Signed-off-by: Philip Withnall <withnall@endlessm.com>
Helps: GNOME/gobject-introspection#267
2019-03-04 11:12:59 +00:00
Philip Withnall
5d719c782c
Merge branch 'script-enum' into 'master'
...
Define enum types for Unicode enums
See merge request GNOME/glib!481
2019-02-04 12:28:02 +00:00
Matthias Clasen
fc6044a4b1
Define enum types for Unicode enums
...
We want to stop shipping PangoScript in pango, so
we need a replacement for the type that used to
be provided by pango.
2019-01-31 19:38:26 -05:00
Krzesimir Nowak
9babfecba8
docs: Ignore more version macros
...
Looks like we tend to forget to update the list of ignored decorators
when adding new version macros.
2019-01-31 21:52:40 +01:00
Philip Withnall
a440152b2a
docs: Ignore some generated header files
...
Signed-off-by: Philip Withnall <withnall@endlessm.com>
2018-11-23 13:27:04 +00:00
Xavier Claessens
780f7c64f9
Meson: doc: fix cross references
2018-09-23 16:09:34 -04:00
Xavier Claessens
124779be88
doc: Remove gobject.types since gtkdoc-scan rebuild it anyway
...
I'm not sure why gobject.cI was needed but that looks like hack around
old gtkdoc bug. Works fine without it.
2018-06-28 09:55:56 -04:00
Xavier Claessens
62c4768423
Meson: Add missing options and conform to naming guidelines
...
https://bugzilla.gnome.org/show_bug.cgi?id=790837
2017-12-19 14:56:11 -05:00
Xavier Claessens
fa8d42de2e
Meson: Fix build of gtkdoc
...
This requires change added in Meson 0.44.0
https://bugzilla.gnome.org/show_bug.cgi?id=786796
2017-12-11 10:25:21 -05:00
Philip Withnall
a12fbd227f
docs: Add version and deprecation decorators to gtk-doc ignore list
...
This allows gtk-doc to recognise a whole lot more API than it could
before. Maintaining the lists between 6 build files is going to be a bit
of a pain, but they only need to be modified once a cycle.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
https://bugzilla.gnome.org/show_bug.cgi?id=789087
https://bugzilla.gnome.org/show_bug.cgi?id=790015
2017-11-07 14:50:23 +00:00
Tim-Philipp Müller
24ea260b4c
meson: docs: make gtk-doc find the gobject.types file
...
Should really use files('gobject.types') instead, but that
seems to get expanded to the build path for some reason:
https://github.com/mesonbuild/meson/issues/1875
2017-07-13 19:03:39 -04:00
Nirbheek Chauhan
88e437873a
meson: Detect with-docs and with-man automatically
...
By default, only build man pages and gtk-doc if the build-deps were
found. To force-enable, pass -Dwith-docs=yes and -Dwith-man=yes.
Also use a foreach loop for man pages instead of listing them all
manually
2017-07-13 19:03:39 -04:00
Patrick Griffis
bc2bb5639b
meson: Match upstream gtkdoc changes
2017-07-13 19:03:39 -04:00
Patrick Griffis
0df9aab053
meson: Build all docs
2017-07-13 19:03:39 -04:00