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
[v1.13] docs: Ignore Helm values, update spelling list #26906
Conversation
Hmmm. I'm also getting the errors Sebastian reported:
These are not because we omitted to ignore the I see two ways forward:
I've not much appetite for the second solution - I don't mind spending time on improving the docs framework on |
That would be my preference, but I don't know how hard that is. Regarding Helm, I've found that it's already often necessary to regenerate the Helm values and README on stable branches, even before this commit. So I'm fine with not backporting it. But I think it would be helpful to have a guide somewhere that explains to backporters what conflicts they have to expect due to this change, and an short guide on what and how to regenerate. |
08b59b0
to
fac93d5
Compare
fac93d5
to
4fa83bb
Compare
/test-backport-1.13 |
/test-1.21-4.19 |
Hey @qmonnet seems like there's now a conflict on |
4fa83bb
to
a33a42d
Compare
There was, I fixed it. |
This PR only makes changes to the documentation and Helm values, both checks have passed, no need to run full CI for the rebase. Marking |
Looks like the release activity is really messing with this one @qmonnet, another conflict in helm-values. Feels like timezones may make this tricky, please feel free to ping me on Slack when you are ready to push the conflict fix and if I'm up, I'll merge asap after that. |
[ upstream commit 0916eac ] There are two target references (non-anonymous links) names "netperf", and pointing to the same link anyway. Let's clean it up. Signed-off-by: Quentin Monnet <quentin@isovalent.com>
[ upstream commit daaf1d2 ] The table should be indented with the item list it belongs to, or Sphinx will believe the list is finished and open a new one, under the table, starting from 3. Signed-off-by: Quentin Monnet <quentin@isovalent.com>
We want to backport some changes touching the structure of the Helm reference. This requires using a specific role with the spelling plug-in for Sphinx, which in turn requires upgrading this spelling plug-in to a newer version. This upgrade requires the creation of a new CI image, but it seems that building the image locally is broken on 1.13... Let's just copy most of the Documentation framework files from main to branch 1.13, and use the same image in CI. Upstream commits (not sorted): - 0b93dcc ("docs: Revert Python to 3.7.9 in docs-builder, downgrade a dependency") - 36a31b1 ("Documentation: enable parallel builds") - 2e9b20f ("docs: Ignore Helm value names for spellcheck") - b445e6e ("docs: Do not print error when spell check output dir is empty") - e90df2f ("docs: Update rstcheck") - 621dcad ("docs: extract Go version from go.mod") - b304ce3 ("Update release scripting for main branch rename") - eb1338a ("docs: Update build dependencies (Sphinx add-ons etc.)") - 2390916 ("docs: fixed search for every page") Signed-off-by: Quentin Monnet <quentin@isovalent.com>
[ upstream commit 2e9b20f ] 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. [ Backport note: We have cherry-picked the changes to the Makefile in a previous commit, here we just update the Helm reference to mark the values as ignored for the spell checker. ] Signed-off-by: Quentin Monnet <quentin@isovalent.com>
[ upstream commit e846b71 ] 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>
a33a42d
to
df0a686
Compare
Yeah, there's one commit here that changes all entries in the Helm reference, so as soon as we backport some other change touching that file there's a conflict. This is also why we want to backport this change, in fact: otherwise, all backports from
Sure, will do. We should be good if the Documentation workflow and integration tests pass. |
Looks all in order 🚀 |
+ Partial backport for the following PRs (not labelled as backported, since we backport only a minor portion of the changes):
Cc @gandro
Once this PR is merged, you can update the PR labels via:
or with