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 <sandrine.bailleux@arm.com>
This commit is contained in:
Sandrine Bailleux 2020-04-17 14:19:20 +02:00
parent 8ff55a9e14
commit 8b815a4e03
1 changed files with 2 additions and 2 deletions

View File

@ -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 # SPDX-License-Identifier: BSD-3-Clause
# #
@ -7,7 +7,7 @@
# #
# You can set these variables from the command line. # You can set these variables from the command line.
SPHINXOPTS = SPHINXOPTS = -W
SPHINXBUILD = sphinx-build SPHINXBUILD = sphinx-build
SPHINXPROJ = TrustedFirmware-A SPHINXPROJ = TrustedFirmware-A
SOURCEDIR = . SOURCEDIR = .