Skip to content

Spelling fixes#591

Open
jans23 wants to merge 3 commits into
mainfrom
spelling-fixes
Open

Spelling fixes#591
jans23 wants to merge 3 commits into
mainfrom
spelling-fixes

Conversation

@jans23

@jans23 jans23 commented Jun 12, 2026

Copy link
Copy Markdown
Member

Continuation of #572

ernstki and others added 3 commits June 11, 2026 17:09
These two new Makefile targets allow you to:

- identify potential misspellings with sphinxcontrib-spelling[1]
- (optionally) add them to a custom word list, and
- loop through all the misspelled files, opening them with your $EDITOR.

Run `make check-spelling` (alias: `spell`) to start the process,
followed by `make fix-spelling` (aliases: `fix` or `correct`).

A list of _correct_ spellings (which will not be flagged by the Sphinx
extension) is contained in `wordlist.txt`. The `check-spelling` target
gives you the opportunity to update this word list if new (putative)
misspellings are identified.

The `fix-spelling` target works best with Vim/Neovim. It employs the
`hlsearch` and quickfix features to make it easier to find and correct
spelling mistakes in the individual source files.

For other editors, the misspelled file and the list of misspellings
identified by sphinxcontrib-spelling are simply passed as command-line
arguments.

[1]: https://sphinxcontrib-spelling.readthedocs.io
Uses the `make fix-spelling` target introduced by PR #572
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants