diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2023-05-02 05:04:11 +0200 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2023-05-04 11:15:12 +0200 |
commit | 8a6414d1e410ab65780a4c5eb99e79e5b9bc21c1 (patch) | |
tree | 9150b72a6400a69fabcaad33ec2f63897e7ea8d2 /.gitlab-ci.yml | |
parent | 27a03f03b214dbb988c5b40ce49743442544578a (diff) | |
download | u-boot-8a6414d1e410ab65780a4c5eb99e79e5b9bc21c1.zip u-boot-8a6414d1e410ab65780a4c5eb99e79e5b9bc21c1.tar.gz u-boot-8a6414d1e410ab65780a4c5eb99e79e5b9bc21c1.tar.bz2 |
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 '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b193fee..e6c6ab3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -171,7 +171,7 @@ docs: - 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 # some statistics about the code base |