isovalent / ebpf-docs

An effort to comprehensively document eBPF
https://ebpf-docs.dylanreimerink.nl/
BSD 2-Clause "Simplified" License
177 stars 18 forks source link

Add spellchecking tools + CI #44

Closed dylandreimerink closed 1 month ago

dylandreimerink commented 1 month ago

This PR adds a spelling checker. Implemented as a custom layer around aspell to deal with our somewhat unique markdown dialect.

What our custom tool does is render the markdown files to HTML, parse the HTML with custom logic and exceptions, then feed the text into aspell (GNU spell checker) to check for spelling errors, and then do a best effort to find the location of the spelling mistake in the markdown files.

Existing issues found be the spellchecker were resolved in one of the following ways: