CI: treat documentation warnings as errors
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 2 May 2023 03:04:11 +0000 (05:04 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 4 May 2023 09:15:12 +0000 (11:15 +0200)
commit8a6414d1e410ab65780a4c5eb99e79e5b9bc21c1
tree9150b72a6400a69fabcaad33ec2f63897e7ea8d2
parent27a03f03b214dbb988c5b40ce49743442544578a
CI: treat documentation warnings as errors

We do not want to merge documentation that produces Sphinx warnings.

scripts/kernel-doc uses environment variable KDOC_WERROR to determine
if warnings should be treated as errors.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
.azure-pipelines.yml
.gitlab-ci.yml