From 5adc07ae55ff83332f7eeddc4a0eb2a9e4c07c29 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Mon, 22 Jan 2024 11:45:31 +0200 Subject: [PATCH] doc/Makefile: run sphinx in serial mode Unfortunately, using pydata_sphinx_theme extension generates warnings in sphix processing. These warnings cause documentation build to be considered a failure: WARNING: the pydata_sphinx_theme extension is not safe for parallel writing WARNING: doing serial write .... build finished with problems, 2 warnings. make: *** [Makefile:24: html] Error 1 Since the build is already doing a serial write, enforce it from start. Signed-off-by: Alexander Bokovoy Reviewed-By: Francisco Trivino --- doc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Makefile b/doc/Makefile index 657ccc5fc..5b2457af8 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -5,7 +5,7 @@ # from the environment for the first two. PYTHON ?= python3 VENVDIR = ./.venv -SPHINXOPTS ?= -W --keep-going -j auto +SPHINXOPTS ?= -W --keep-going -j 1 SPHINXBUILD ?= PATH=$(VENVDIR)/bin:$$PATH sphinx-build SOURCEDIR = . BUILDDIR = _build