From 0d2e1dd17d4ddc22f6dc6523be7380eccabbc0b0 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Sun, 27 Apr 2025 19:15:05 +0300 Subject: [PATCH] Use '--jobs auto' for all builders --- docs/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/Makefile b/docs/Makefile index bd411f4a1..30761b5e0 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -5,9 +5,10 @@ PYTHON = python3 SPHINXBUILD = $(PYTHON) -m sphinx.cmd.build SPHINXOPTS = --fail-on-warning --keep-going -PAPER = BUILDDIR = _build BUILDER = html +JOBS = auto +PAPER = # Internal variables. PAPEROPT_a4 = --define latex_paper_size=a4 @@ -15,6 +16,7 @@ PAPEROPT_letter = --define latex_paper_size=letter ALLSPHINXOPTS = --builder $(BUILDER) \ --doctree-dir $(BUILDDIR)/doctrees \ + --jobs $(JOBS) \ $(PAPEROPT_$(PAPER)) \ $(SPHINXOPTS) \ . $(BUILDDIR)/$(BUILDER) @@ -58,7 +60,7 @@ singlehtml: linkcheck: BUILDER = linkcheck linkcheck: $(MAKE) install-sphinx - $(SPHINXBUILD) $(ALLSPHINXOPTS) -j auto + $(SPHINXBUILD) $(ALLSPHINXOPTS) @echo @echo "Link check complete; look for any errors in the above output " \ "or in $(BUILDDIR)/linkcheck/output.txt."