pawamoy / mkdocs-spellcheck

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

Option to set log level #14

Closed Archmonger closed 1 year ago

Archmonger commented 1 year ago

Is your feature request related to a problem? Please describe. Currently spelling issues are always console warnings.

Describe the solution you'd like I'd like the ability to set them to errors, in order to use mkdocs-spellcheck within GitHub Actions workflows.

I basically want mkdocs build to fail on spelling errors, but print out all the spelling errors to console before failing.

Describe alternatives you've considered N/A

Additional context N/A

pawamoy commented 1 year ago

I believe that's exactly what you get with MkDocs' strict mode: mkdocs build -s.

Archmonger commented 1 year ago

Yep I must've missed that. Thanks!