-
Notifications
You must be signed in to change notification settings - Fork 5
Create spellcheck.yml #115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
I need to add more words to |
|
Looking amazing! |
|
A couple thoughts on this based on the flagged (false) positives: The docs are not plain Markdown, but MDX, that is markdown+JSX (so practically as much HTML as they are MD): We would definitely need to filter these or build a custom dictionary that takes care of this. On the other hand, the spellcheck seems to indiscriminately crawl and flag all code blocks: On the one hand, this will be improved in the future when we move a good chunk of (but not necessarily all) code snippets to files outside of the markdowns, but in certain cases it would make a lot of sense to check these files, such as for the runnable APIs, but based on a generated wordlist: Similarly for other things like client libraries. This would of course be a "blunt weapon", and a smarter way to do this would be through proper tests (á la #81). |
Yep! I'm slowly working my way through all the false positives in
From today's docs meeting notes:
|
Previous build failed `spellcheck.yml` test, citing `expected <block end>, but found '?'
in "<unicode string>", line 7, column 3:
dictionary:
^`
Just trying matching our `spellcheck.yml` to the example: https://github.com/igsekor/pyspelling-any/blob/main/spellcheck.yaml to see if that fixes it.
Moved code from `docs/.spellcheck.yaml` (don't even know where that came from?) to `docs/.github/workflows/spellcheck.yml`
This shouldn't be here, I think; it should be .`github/workflows/spellcheck.yml`.
Add a spell check to docs workflow