doc: raise an error on warnings for dts
PATCH 1/1 doc: raise an error on warnings for dts
Similarly to commit 6572fc926037 ("doc: make sphinx comply with ..."), pass -W to sphinx to catch warnings.
--- doc/api/dts/meson.build | 3 +++ 1 file changed, 3 insertions(+)
doc/api/dts/meson.build +3 -0
@@ -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
Signature · 1 line
2.52.0
21/01/2026 11:01, David Marchand:
Quoted 4 lines
Similarly to commit
6572fc926037("doc: make sphinx comply with ..."), pass -W to sphinx to catch warnings.Signed-off-by David Marchand <[email protected]>
Note: "dts" could be uppercased in the title
Quoted 30 lines
-----Original Message-----
From: David Marchand <[email protected]>
Sent: Wednesday 21 January 2026 10:01
To: [email protected]
Cc: [email protected]; [email protected]; [email protected]
Subject: [PATCH] doc: raise an error on warnings for dtsSimilarly to commit
6572fc926037("doc: make sphinx comply with ..."), pass -W to sphinx to catch warnings.Signed-off-by David Marchand <[email protected]>--- doc/api/dts/meson.build | 3 +++ 1 file changed, 3 insertions(+)doc/api/dts/meson.build +3
-1@@ -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 --
Quoted 1 line
2.52.0
David Marchand
AppliedQuoted 14 lines · David Marchand
Similarly to commit
6572fc926037("doc: make sphinx comply with ..."), pass -W to sphinx to catch warnings.Signed-off-by David Marchand <[email protected]>--- doc/api/dts/meson.build | 3 +++ 1 file changed, 3 insertions(+)doc/api/dts/meson.build +0
-0
doc/api/dts/meson.build if python_ver_satisfied != 0 · line 20
Quoted 9 lines
doc/api/dts/meson.build +3
-0@@ -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
Applied, thanks.
Signature · 1 line
David Marchand