Skip to content

Commit

Permalink
enable multiprocessing for pyspelling
Browse files Browse the repository at this point in the history
Pyspelling has a new option to run jobs in parallel. See
facelessuser/pyspelling#182

This doesn't make much difference (if at all) for the starter
pack, but it's considerably faster for large documentation sets.

Signed-off-by: Ruth Fuchss <ruth.fuchss@canonical.com>
  • Loading branch information
ru-fu committed Jan 22, 2024
1 parent 585ab49 commit 80203e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ clean-doc:
rm -rf .sphinx/.doctrees

spelling: html
. $(VENV) ; python3 -m pyspelling -c .sphinx/spellingcheck.yaml
. $(VENV) ; python3 -m pyspelling -c .sphinx/spellingcheck.yaml -j $(shell nproc)

linkcheck: install
. $(VENV) ; $(SPHINXBUILD) -b linkcheck "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS)
Expand Down

0 comments on commit 80203e0

Please sign in to comment.