sphinxcontrib.spelling is a spelling checker extension for Sphinx-based documentation. It leverages PyEnchant to analyze reStructuredText and Markdown files, generating reports of misspelled words. The current version is 8.0.2, and the project maintains an active development with regular releases addressing bugs and adding features. [1, 3, 11, 12, 14]
pip install sphinxcontrib-spellingVerified import paths — ran on the pinned version, not inferred.
To quickly set up `sphinxcontrib-spelling`, first ensure PyEnchant and the extension are installed. Then, configure your Sphinx `conf.py` to include the extension and define basic spelling options like language and custom word lists. Finally, run the `sphinx-build` command with the `-b spelling` option to execute the spell checker, which will output misspelled words to the console and a log file. [4, 8, 9, 15]
Ensure `enchant` (system library) and `pyenchant` (Python package) are correctly installed and discoverable by your Python environment.
Execute `sphinx-build -b spelling <source_dir> <build_dir>` as a distinct command to perform spell checking.
Upgrade to a later stable version (e.g., 8.0.2) or downgrade to a prior stable version if necessary.
Standardize the Enchant and PyEnchant installations across all development and build environments, potentially specifying exact versions or using Docker for consistency. Configure `spelling_lang` explicitly.
Upgrade to `sphinxcontrib-spelling` version 8.0.0 or newer to ensure compatibility with Sphinx 8.2+.