Skip to content

Commit

Permalink
doc: use all processors for spelling check
Browse files Browse the repository at this point in the history
Use nproc to find the best number of jobs for parallel processing.

Signed-off-by: Ruth Fuchss <ruth.fuchss@canonical.com>
  • Loading branch information
ru-fu committed Jan 22, 2024
1 parent d3c1928 commit a438f42
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion doc/.sphinx/spellingcheck.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
jobs: 2
matrix:
- name: Markdown files
aspell:
Expand Down

0 comments on commit a438f42

Please sign in to comment.