Closed kaxil closed 4 years ago
Love it. I make a lot of spelling mistakes (usually because I want to go fast). So having an automated check would be awesome!
BTW. I got a lot better at it with recent changes in IntelliJ where spell-checking and grammar is built in :)
I'd like to work on this issue. Hoping to have a PR in the next day or so.
I've created an initial PR for this and have a few questions about next steps. Spell check is run during docs build, but there is no direct command to run the spell check. Also, all misspellings have been added to the docs/spellling_wordlist.txt
file and some effort is needed to identify misspellings, remove them from the wordlist and update the docs with the correct spellings.
My questions:
- Should we have a specific command to run spell check other than building the docs? in breeze too?
I took a look at your PR and I think running the spell check as part of the doc only makes sense for now. We don't need a separate command for it. Even if we would want to do it, it can happen in a separate PR :)
- Should I my PR to update the spellings for as many of the misspellings as I can? It will boost the number of files I change, obviously.
Yes, otherwise the PR would fail so atleast I would expect it to fail.
We have been fixing various typos in the project but it would be good if we can enable a Spell Checker for our Docsite. So our docs are typo-free.
We can use https://pypi.org/project/sphinxcontrib-spelling/ to do this. Docs: https://sphinxcontrib-spelling.readthedocs.io/en/latest/
I gave it a shot but unfortunately, there are too many words that we need to add in
docs/spelling_wordlist.txt
.Here is the list I had but there are still ~6k more words that need to be added, if someone wants to give it a shot: