mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 05:59:10 +00:00
doc: Add an option to enable fatal warnings
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2954>
This commit is contained in:
parent
c8a9736244
commit
302464fa62
2 changed files with 2 additions and 0 deletions
|
@ -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()
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue