pawamoy / mkdocs-spellcheck

A spell checker plugin for MkDocs.
https://pawamoy.github.io/mkdocs-spellcheck/
ISC License
15 stars 3 forks source link

Prevent loading of unused backends #17

Closed tobiasah closed 10 months ago

tobiasah commented 10 months ago

This change changes how the backends are imported, instead of importing all of them every backend is loaded lazy only when its needed.

This solves the problem that dependencies from unused backends need to be installed even if the are not used (e.g. symspellpy depends on editdistpy which needs to be build from source on Windows requiring a compiler ...).

pawamoy commented 10 months ago

Released in 1.0.2 :tada: