1
0
Fork 0
mutter-performance-source/doc/reference/meson.build
Andy Holmes b7ea424605 documentation: Generate API references with gi-docgen
gtk-doc support was taken out about six years ago, but never replaced.
Add support for the newer gi-docgen, which should hopefully encourage
both C and GJS users of these libraries to improve the reference.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2248>
2022-01-20 07:48:44 -08:00

27 lines
495 B
Meson

if not have_introspection
error('API reference requires introspection.')
endif
toml_conf = configuration_data()
toml_conf.set('version', libmutter_api_version)
toml_conf.set('vcs_tag', 'main')
gidocgen = find_program('gi-docgen')
gidocgen_common_args = [
'--quiet',
'--no-namespace-dir',
]
if get_option('werror')
gidocgen_common_args += ['--fatal-warnings']
endif
docs_dir = pkgdatadir / 'doc'
subdir('cally')
subdir('clutter')
subdir('cogl')
subdir('cogl-pango')
subdir('meta')