Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add custom spelling filter to check WireGuard spelling
In the documentation, WireGuard should always be spelt with capital W and G. We also have a lowercase version coming from the documentation for Helm value, where "wireguard" is a value that one can pass to a dedicated option to select the encryption mode. How to enforce correct spell checks for WireGuard, to avoid to introduce occurrences with erroneous capitalisation? - If the spelling list contains "wireguard" or "Wireguard", the check will be case-insensitive and "Wireguard" will not trigger an error (false negatives). - If the spelling list contains "WireGuard" only, then the Helm value will trigger an error (false positive). We want to allow both "WireGuard" and "wireguard". This cannot be done via the spelling list, but can be implemented as a custom filter for Sphinx's spelling extension, in order to skip either of those spellings. Let's create this filter to make sure we capitalise the term correctly in the future. Signed-off-by: Quentin Monnet <quentin@isovalent.com>
- Loading branch information