Skip to content
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

[v17] Catch misuses of the Var component #51184

Open
wants to merge 1 commit into
base: branch/v17
Choose a base branch
from

Conversation

ptgott
Copy link
Contributor

@ptgott ptgott commented Jan 17, 2025

Backport #51081 to branch/v17

@ptgott ptgott added the no-changelog Indicates that a PR does not require a changelog entry label Jan 17, 2025
Copy link

github-actions bot commented Jan 17, 2025

Amplify deployment status

Branch Commit Job ID Status Preview Updated (UTC)
bot/backport-51081-branch/v17 3095082 2 ✅SUCCEED bot-backport-51081-branch-v17 2025-01-17 19:33:25

Closes #29905

Add a Vale style rule to catch docs pages in which there is a single
instance of a Var. This ensures that Vars reuse information as intended.

Also fix single-instance Vars that violate the rule. For the most part,
this means either:

- Instructing the user to assign the Var, meaning that there are no
  easy-to-miss Vars hiding in a configuration snippet
- Removing unnecessary Vars, e.g., if an example command is meant to
  illustrate a possibility and is not mean to be copied and pasted
- Fixing mistakes in Var usage, e.g., a Proxy Service address variable
  that has two possible names, `teleport.example.com` and
  `example.teleport.sh`.
@ptgott ptgott force-pushed the bot/backport-51081-branch/v17 branch from 6dafcf0 to 3095082 Compare January 17, 2025 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport documentation no-changelog Indicates that a PR does not require a changelog entry size/sm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants