From ea775773d975a652fb9fa5aece9de4c6a91d854d Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 11 Mar 2026 17:01:39 +0100 Subject: [PATCH] docs: fail build on warnings --- .readthedocs.yaml | 1 + docs/Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 0ee8bfd..f37ec10 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -20,6 +20,7 @@ build: sphinx: configuration: docs/conf.py + fail_on_warning: true formats: - pdf diff --git a/docs/Makefile b/docs/Makefile index d4bb2cb..973b097 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -3,7 +3,7 @@ # You can set these variables from the command line, and also # from the environment for the first two. -SPHINXOPTS ?= +SPHINXOPTS ?= --fail-on-warning SPHINXBUILD ?= sphinx-build SOURCEDIR = . BUILDDIR = _build