From 8b815a4e03169e8b00c3345d31250513fb4cc953 Mon Sep 17 00:00:00 2001 From: Sandrine Bailleux Date: Fri, 17 Apr 2020 14:19:20 +0200 Subject: [PATCH] doc: Treat Sphinx warnings as errors 'make doc' will now fail if Sphinx outputs any warning messages during documentation generation. Change-Id: I3e466af58ccf29b14a7e61037539b79ab6fc6037 Signed-off-by: Sandrine Bailleux --- docs/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Makefile b/docs/Makefile index eed3a0815..3dd7ebc4d 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -1,5 +1,5 @@ # -# Copyright (c) 2019, ARM Limited. All rights reserved. +# Copyright (c) 2019-2020, ARM Limited. All rights reserved. # # SPDX-License-Identifier: BSD-3-Clause # @@ -7,7 +7,7 @@ # # You can set these variables from the command line. -SPHINXOPTS = +SPHINXOPTS = -W SPHINXBUILD = sphinx-build SPHINXPROJ = TrustedFirmware-A SOURCEDIR = .