From 59e67e6869b0bd8aa67e892e0117ed2e572a49ea Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Jan 24 2024 16:46:02 +0000 Subject: 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: Julien Rische Reviewed-By: Francisco Trivino --- diff --git a/doc/Makefile b/doc/Makefile index 657ccc5..5b2457a 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