Skip to content

Commit cfb9248

Browse files
authored
Speedup: build docs in parallel (GH-92733) (GH-92850)
(cherry picked from commit a487623)
1 parent 93d9b78 commit cfb9248

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/doc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: 'Install build dependencies'
3838
run: make -C Doc/ PYTHON=../python venv
3939
- name: 'Build documentation'
40-
run: xvfb-run make -C Doc/ PYTHON=../python SPHINXOPTS="-q -W --keep-going -j4" doctest html suspicious
40+
run: xvfb-run make -C Doc/ PYTHON=../python SPHINXOPTS="-q -W --keep-going" doctest html suspicious
4141
- name: 'Upload'
4242
uses: actions/upload-artifact@v3
4343
with:

Doc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ SPHINXERRORHANDLING = -W
1717
PAPEROPT_a4 = -D latex_elements.papersize=a4paper
1818
PAPEROPT_letter = -D latex_elements.papersize=letterpaper
1919

20-
ALLSPHINXOPTS = -b $(BUILDER) -d build/doctrees $(PAPEROPT_$(PAPER)) \
20+
ALLSPHINXOPTS = -b $(BUILDER) -d build/doctrees $(PAPEROPT_$(PAPER)) -j auto \
2121
$(SPHINXOPTS) $(SPHINXERRORHANDLING) . build/$(BUILDER) $(SOURCES)
2222

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

0 commit comments

Comments
 (0)