docs: fail build on warnings

This commit is contained in:
Martin Weinelt
2026-03-11 17:01:39 +01:00
parent 489fbc4e0e
commit ea775773d9
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -20,6 +20,7 @@ build:
sphinx: sphinx:
configuration: docs/conf.py configuration: docs/conf.py
fail_on_warning: true
formats: formats:
- pdf - pdf
+1 -1
View File
@@ -3,7 +3,7 @@
# You can set these variables from the command line, and also # You can set these variables from the command line, and also
# from the environment for the first two. # from the environment for the first two.
SPHINXOPTS ?= SPHINXOPTS ?= --fail-on-warning
SPHINXBUILD ?= sphinx-build SPHINXBUILD ?= sphinx-build
SOURCEDIR = . SOURCEDIR = .
BUILDDIR = _build BUILDDIR = _build