Yocto Project Documentation
 help / color / mirror / Atom feed
* [PATCH] documentation: Makefile: turn warnings into errors by default
@ 2021-05-27 18:31 Quentin Schulz
  2021-05-28  8:35 ` [docs] " Michael Opdenacker
  0 siblings, 1 reply; 5+ messages in thread
From: Quentin Schulz @ 2021-05-27 18:31 UTC (permalink / raw)
  To: docs; +Cc: Quentin Schulz

-W is for turning warnings into errors, --keep-going to make sure the
whole documentation is built and all warnings will be printed before
failing.

Since there's currently no warning, it's time to introduce it!

Signed-off-by: Quentin Schulz <foss@0leil.net>
---
 documentation/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/documentation/Makefile b/documentation/Makefile
index d40f390e2..996f01b7d 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -3,7 +3,7 @@
 
 # You can set these variables from the command line, and also
 # from the environment for the first two.
-SPHINXOPTS    ?= -j auto
+SPHINXOPTS    ?= -W --keep-going -j auto
 SPHINXBUILD   ?= sphinx-build
 SOURCEDIR     = .
 BUILDDIR      = _build
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-06-10  8:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-27 18:31 [PATCH] documentation: Makefile: turn warnings into errors by default Quentin Schulz
2021-05-28  8:35 ` [docs] " Michael Opdenacker
2021-05-28  8:40   ` Nicolas Dechesne
2021-05-29 15:04     ` Quentin Schulz
2021-06-10  8:16       ` Michael Opdenacker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox