From: David Marchand <david.marchand@redhat.com>
To: dev@dpdk.org
Cc: probb@iol.unh.edu, bruce.richardson@intel.com, thomas@monjalon.net
Subject: [PATCH] doc: raise an error on warnings for dts
Date: Wed, 21 Jan 2026 11:01:27 +0100 [thread overview]
Message-ID: <20260121100127.1701459-1-david.marchand@redhat.com> (raw)
Similarly to commit 6572fc926037 ("doc: make sphinx comply with ..."),
pass -W to sphinx to catch warnings.
Signed-off-by: David Marchand <david.marchand@redhat.com>
---
doc/api/dts/meson.build | 3 +++
1 file changed, 3 insertions(+)
diff --git a/doc/api/dts/meson.build b/doc/api/dts/meson.build
index 8a6d061879..fc147f13f3 100644
--- a/doc/api/dts/meson.build
+++ b/doc/api/dts/meson.build
@@ -12,6 +12,9 @@ if python_ver_satisfied != 0
endif
extra_sphinx_args = ['-E', '-c', join_paths(doc_source_dir, 'guides')]
+if get_option('werror')
+ extra_sphinx_args += '-W'
+endif
# DTS docs are generated inside main Doxygen docs build directory
# DTS docs relies on main docs to install it so does not define install dir
--
2.52.0
next reply other threads:[~2026-01-21 10:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-21 10:01 David Marchand [this message]
2026-01-21 10:31 ` [PATCH] doc: raise an error on warnings for dts Thomas Monjalon
2026-01-21 11:03 ` Marat Khalili
2026-01-21 14:40 ` David Marchand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260121100127.1701459-1-david.marchand@redhat.com \
--to=david.marchand@redhat.com \
--cc=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
--cc=probb@iol.unh.edu \
--cc=thomas@monjalon.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox