[gtk/ebassi/docs-fixes: 2/2] Enable fatal warnings when build the docs
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/docs-fixes: 2/2] Enable fatal warnings when build the docs
- Date: Tue, 25 May 2021 12:33:27 +0000 (UTC)
commit 6d06b0f076fc0ee934b326f74cf874c78767ca07
Author: Emmanuele Bassi <ebassi gnome org>
Date: Tue May 25 13:32:32 2021 +0100
Enable fatal warnings when build the docs
We want to fail the CI pipeline when the documentation generator emits a
warning.
docs/reference/gdk/meson.build | 3 +++
docs/reference/gsk/meson.build | 1 +
docs/reference/gtk/meson.build | 1 +
3 files changed, 5 insertions(+)
---
diff --git a/docs/reference/gdk/meson.build b/docs/reference/gdk/meson.build
index 3dc7a0ff92..d5429928e1 100644
--- a/docs/reference/gdk/meson.build
+++ b/docs/reference/gdk/meson.build
@@ -13,6 +13,7 @@ if get_option('gtk_doc')
gidocgen,
'generate',
'--quiet',
+ '--fatal-warnings',
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../../gtk'),
'--config=@INPUT0@',
'--output-dir=@OUTPUT@',
@@ -34,6 +35,7 @@ if get_option('gtk_doc')
gidocgen,
'generate',
'--quiet',
+ '--fatal-warnings',
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../../gtk'),
'--config=@INPUT0@',
'--output-dir=@OUTPUT@',
@@ -57,6 +59,7 @@ if get_option('gtk_doc')
gidocgen,
'generate',
'--quiet',
+ '--fatal-warnings',
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../../gtk'),
'--config=@INPUT0@',
'--output-dir=@OUTPUT@',
diff --git a/docs/reference/gsk/meson.build b/docs/reference/gsk/meson.build
index f482f9fd6f..db80a68898 100644
--- a/docs/reference/gsk/meson.build
+++ b/docs/reference/gsk/meson.build
@@ -8,6 +8,7 @@ if get_option('gtk_doc')
gidocgen,
'generate',
'--quiet',
+ '--fatal-warnings',
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../../gtk'),
'--config=@INPUT0@',
'--output-dir=@OUTPUT@',
diff --git a/docs/reference/gtk/meson.build b/docs/reference/gtk/meson.build
index 7452b39f4c..0d785b26de 100644
--- a/docs/reference/gtk/meson.build
+++ b/docs/reference/gtk/meson.build
@@ -37,6 +37,7 @@ if get_option('gtk_doc')
gidocgen,
'generate',
'--quiet',
+ '--fatal-warnings',
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../../gtk'),
'--config=@INPUT0@',
'--output-dir=@OUTPUT@',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]