Skip to content

Commit 71db9c9

Browse files
Add JOBS parameter to docs Makefile (GH-101395)
(cherry picked from commit 1a62ae8) Co-authored-by: Christophe Nanteuil <[email protected]>
1 parent f36c272 commit 71db9c9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ PYTHON = python3
88
VENVDIR = ./venv
99
SPHINXBUILD = PATH=$(VENVDIR)/bin:$$PATH sphinx-build
1010
BLURB = PATH=$(VENVDIR)/bin:$$PATH blurb
11+
JOBS = auto
1112
PAPER =
1213
SOURCES =
1314
DISTVERSION = $(shell $(PYTHON) tools/extensions/patchlevel.py)
@@ -17,7 +18,7 @@ SPHINXERRORHANDLING = -W
1718
PAPEROPT_a4 = -D latex_elements.papersize=a4paper
1819
PAPEROPT_letter = -D latex_elements.papersize=letterpaper
1920

20-
ALLSPHINXOPTS = -b $(BUILDER) -d build/doctrees $(PAPEROPT_$(PAPER)) -j auto \
21+
ALLSPHINXOPTS = -b $(BUILDER) -d build/doctrees $(PAPEROPT_$(PAPER)) -j $(JOBS) \
2122
$(SPHINXOPTS) $(SPHINXERRORHANDLING) . build/$(BUILDER) $(SOURCES)
2223

2324
.PHONY: help build html htmlhelp latex text texinfo changes linkcheck \

0 commit comments

Comments
 (0)