Repository navigation
Fix style issues that Vale stops flagging in code-like text - #8628
Merged
Merged
Conversation
Vale stops checking fenced code blocks and text it reads as indented code. Fix the real issues on those lines, reviewed by hand in context. Co-authored-by: Cursor <[email protected]>
Contributor
Contributor
Elastic Docs Style Checker (Vale)Summary: 4 warnings found
|
| File | Line | Rule | Message |
|---|---|---|---|
| deploy-manage/deploy/cloud-on-k8s/configuration-fleet.md | 366 | Elastic.Spelling | 'chcon' is a possible misspelling. |
| deploy-manage/deploy/cloud-on-k8s/configuration-standalone.md | 369 | Elastic.Spelling | 'chcon' is a possible misspelling. |
| reference/security/defend-advanced-settings.md | 55 | Elastic.Spelling | 'blocklisting' is a possible misspelling. |
| reference/security/defend-advanced-settings.md | 63 | Elastic.Spelling | 'blocklisting' is a possible misspelling. |
The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale.
Contributor
Elastic Docs AI PR menuCheck the box to run an AI review for this pull request.
Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team. |
Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
florent-leborgne
marked this pull request as ready for review
October 1, 2026 14:19
theletterf
approved these changes
Oct 1, 2026
yetanothertw
approved these changes
Oct 1, 2026
yetanothertw
left a comment
Member
There was a problem hiding this comment.
Admin docs subs look good, thank you for cleaning up! 🧹
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Fixes style issues on lines that Vale stops checking after elastic/vale-rules#162.
That PR stops Vale from linting fenced code blocks. Vale can't tell fenced blocks apart from text it reads as indented code, so it also stops checking some prose: definition-list bodies, some indented paragraphs in lists, and comments in code samples. This PR fixes the real issues on those lines now, so they don't stay hidden.
The fixes come from a Vale run on
mainwith the current and the proposed config. Each lost alert was reviewed by hand in context. Only alerts that match an Elastic style guide rule in that context are fixed:On the remote cluster pages for Elastic Cloud and ECE, the note now links to the Using the API dropdown instead of saying "described below". The dropdowns get a
:name:anchor, and the link opens them.The Vale check on this PR then flagged a few more issues on the changed lines. These are fixed too: "http" in the SAML troubleshooting page, "not possible" in the ECE architecture page, eight semicolons that now split into two sentences, and two uses of "disabled" that now read "off" and "turned off".
The alerts left unchanged fall into two groups.
False positives:
# ..., and command output.applies_tolines, URLs, and image paths.reindex.remote.whitelist.advanced_policy_schema.ts.Judgment calls:
Vale with the current config reports 128 fewer alerts on the changed files, and no new ones. The proposed config reports no new alerts either. The PR changes 58 files.
The remaining Vale alerts on the changed lines are false positives: "chcon" (a command name) and "blocklisting" (an Elastic Defend term).
Generative AI disclosure
Tool(s) and model(s) used: Cursor, Claude Opus 5.5. The list of alerts comes from Vale. Each fix was checked against the style guide and the page context, and the diff was proofread.