From a438f42c93932a74c3d3b561e1ad57f5d29f24e9 Mon Sep 17 00:00:00 2001 From: Ruth Fuchss Date: Mon, 22 Jan 2024 11:44:54 +0100 Subject: [PATCH] doc: use all processors for spelling check Use nproc to find the best number of jobs for parallel processing. Signed-off-by: Ruth Fuchss --- Makefile | 2 +- doc/.sphinx/spellingcheck.yaml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b0c80ef63113..818ced96185a 100644 --- a/Makefile +++ b/Makefile @@ -155,7 +155,7 @@ doc-serve: .PHONY: doc-spellcheck doc-spellcheck: doc - . $(SPHINXENV) ; python3 -m pyspelling -c doc/.sphinx/spellingcheck.yaml + . $(SPHINXENV) ; python3 -m pyspelling -c doc/.sphinx/spellingcheck.yaml -j $(shell nproc) .PHONY: doc-linkcheck doc-linkcheck: doc-setup diff --git a/doc/.sphinx/spellingcheck.yaml b/doc/.sphinx/spellingcheck.yaml index 00baeea57eba..710155cfe5e3 100644 --- a/doc/.sphinx/spellingcheck.yaml +++ b/doc/.sphinx/spellingcheck.yaml @@ -1,4 +1,3 @@ -jobs: 2 matrix: - name: Markdown files aspell: