summaryrefslogtreecommitdiff
path: root/.azure-pipelines.yml
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-05-02 05:04:11 +0200
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-05-04 11:15:12 +0200
commit8a6414d1e410ab65780a4c5eb99e79e5b9bc21c1 (patch)
tree9150b72a6400a69fabcaad33ec2f63897e7ea8d2 /.azure-pipelines.yml
parent27a03f03b214dbb988c5b40ce49743442544578a (diff)
downloadu-boot-8a6414d1e410ab65780a4c5eb99e79e5b9bc21c1.tar.gz
u-boot-8a6414d1e410ab65780a4c5eb99e79e5b9bc21c1.tar.bz2
u-boot-8a6414d1e410ab65780a4c5eb99e79e5b9bc21c1.zip
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>
Diffstat (limited to '.azure-pipelines.yml')
-rw-r--r--.azure-pipelines.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
index 76ffdeebd6..3c1846a5bc 100644
--- a/.azure-pipelines.yml
+++ b/.azure-pipelines.yml
@@ -89,7 +89,7 @@ stages:
virtualenv -p /usr/bin/python3 /tmp/venvhtml
. /tmp/venvhtml/bin/activate
pip install -r doc/sphinx/requirements.txt
- make htmldocs
+ make htmldocs KDOC_WERROR=1
make infodocs
- job: todo