doc: Add an option to enable fatal warnings
authorThibault Saunier <tsaunier@igalia.com>
Mon, 29 Aug 2022 14:43:52 +0000 (10:43 -0400)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 15 Sep 2022 20:11:46 +0000 (20:11 +0000)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2954>

subprojects/gst-docs/meson.build
subprojects/gst-docs/meson_options.txt

index b38be12ea6fb47101def15b632bec61dac278993..308d7f51c4a6b36dc198e432311bc63c061dc0a9 100644 (file)
@@ -124,6 +124,7 @@ gstreamer_doc = hotdoc.generate_doc('GStreamer',
     build_always_stale: true,
     edit_on_github_repository: 'https://gitlab.freedesktop.org/gstreamer/gst-docs/',
     previous_symbol_index: join_paths(meson.current_source_dir(), 'symbols', 'symbol_index.json'),
+    fatal_warning: get_option('fatal_warnings')
 )
 
 cdata = configuration_data()
index 06f5ecf7baaf7c0c937ab79e591c7f75c7fdb37d..37e12807479981d5003d119f86f33484489031f8 100644 (file)
@@ -4,3 +4,4 @@ option('built_subprojects', type : 'string', value : '')
 # Special entry to make `gst-docs` usable as part of a bigger
 # portal (gnome-portal for example).
 option('use_portal_index', type : 'boolean', value : true)
+option('fatal_warnings', type : 'boolean', value : false)