This repository was archived by the owner on Jan 8, 2025. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I made a docs PR that moved an include file, but I missed one place where the docs still used the old include file path.
That was this PR:
The linter should have caught that mistake, but it didn't.
Here's the lint docs CI run for that PR: https://github.com/gravitational/teleport/actions/runs/9570290956/job/26384715831
For some reason, setting "source" on the vfile messages makes it not report an error consistently.
I have no idea why.
Depending on the surrounding context, it sometimes caught the error or sometimes did not.
For example, this is not caught (the token.mdx file doesn't exist):
but if I add some text before/after, it is caught:
With this fix, it catches the bad include consistently:
It also caught other bad includes I was not aware of.
This one should be skipped, I think, since it is marked with
{/*lint ignore includes*/}
:don't know why it's not skipped.
I can add escapes to fix it, but it appear to be a page that 404 on our docs website contributing link.
This one needs to be fixed on our v14 docs:
I've opened PRs to fix the v14 and v16 issues: