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
docs: Ignore Helm values, update spelling list #26759
Conversation
Updating the list of exceptions for spellchecking each time we add a Helm value is painfull, and hardly useful at all. It's trivial to mark these strings as ignored to the spell-checker when building the reference, so let's just do that. Signed-off-by: Quentin Monnet <quentin@isovalent.com>
We have accumulated a number of words in the spelling list over time, and some of them are no longer necessary (especially now that we ignore Helm value names from the Helm reference). Let's trim down the list. The following process was applied: 1. Empty the list of spelling exceptions 2. Run 'make html' to get the command to add missing words (update-spelling_wordlist.sh) 3. Run that command to add all words 4. Remove all entries starting with an upper case from the list, as some of them are unnecessary given that they have a corresponding lowercase entry (which is case-insensitive) 5. Re-run 'make html' to get the command to add the exceptions that are still missing 6. Run that command 7. Manually edit the file to make sure we don't change/add existing entries (no Git addition) 8. Re-add names of contributors that are recognised locally, but that CI fails to recognise because it doesn't have the Git history Signed-off-by: Quentin Monnet <quentin@isovalent.com>
9f27216
to
4d67416
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, looks good to me.
This should be addressed by the change in this PR on Documentation/check-build.sh. Unless the rstcheck version in 1.13 is too old? I'll look into it and backport. |
Turns out this was more complex than I thought; but backports to 1.12, 1.13, 1.14 are now all done. |
It's a pain for developers to have to update the spelling list each time they add a new Helm value. Let's ignore these when running the spell-checker. Then we can also update (trim down) the list of exceptions.