[Concept,1/5] doc: Enable quiet mode for sphinx builds

Message ID 20251229155843.3891495-2-sjg@u-boot.org
State New
Headers
Series doc: Silence the sphinx build output |

Commit Message

Simon Glass Dec. 29, 2025, 3:58 p.m. UTC
  From: Simon Glass <simon.glass@canonical.com>

The sphinx output is very noisy. Add -q to SPHINXOPTS so that only
warnings and errors are shown.

Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
---

 doc/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/doc/Makefile b/doc/Makefile
index d0904a9f990..bdbbe09de9b 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -6,7 +6,7 @@  subdir-y :=
 
 # You can set these variables from the command line.
 SPHINXBUILD   = sphinx-build
-SPHINXOPTS    = -W
+SPHINXOPTS    = -q -W
 SPHINXDIRS    = .
 _SPHINXDIRS   = $(patsubst $(srctree)/doc/%/conf.py,%,$(wildcard $(srctree)/doc/*/conf.py))
 SPHINX_CONF   = conf.py