Skip to content

docs: vale fixes — word list and headings in for-app-developers#932

Open
AidanDelaney wants to merge 3 commits into
mainfrom
docs/vale-app-developers
Open

docs: vale fixes — word list and headings in for-app-developers#932
AidanDelaney wants to merge 3 commits into
mainfrom
docs/vale-app-developers

Conversation

@AidanDelaney
Copy link
Copy Markdown
Member

Expand the CNB-specific vocabulary to correctly accept project terms (buildpacks, lifecycle, OCI, SBOM, Podman, etc.) using regex patterns that avoid spurious Vale.Terms conflicts, and excludes SVG files from prose linting.

All Google.WordList violations in for-app-developers are resolved: "application" → "app", "in order to" → "to", "above" → "preceding", and heading capitalisation converted to sentence case throughout. The Google Headings rule is extended with ARM and FAQ as known acronyms so question headings containing those terms are not mis-flagged.

@AidanDelaney AidanDelaney requested a review from a team as a code owner May 7, 2026 06:02
@AidanDelaney AidanDelaney force-pushed the docs/vale-app-developers branch from a43a489 to 0c84fd0 Compare May 7, 2026 06:03
The .vale.ini referenced a Google style package that had never been
downloaded, so CI lint was silently passing without enforcing any rules.
This commit bootstraps the Google style via vale sync, expands the
CNB-specific vocabulary to correctly accept project terms (buildpacks,
lifecycle, OCI, SBOM, Podman, etc.) using regex patterns that avoid
spurious Vale.Terms conflicts, and excludes SVG files from prose linting.

All Google.WordList violations in for-app-developers are resolved:
"application" → "app", "in order to" → "to", "above" → "preceding",
and heading capitalisation converted to sentence case throughout.
The Google Headings rule is extended with ARM and FAQ as known acronyms
so question headings containing those terms are not mis-flagged.

Signed-off-by: Aidan Delaney <aidan.delaney@gmail.com>
After establishing a Vale baseline, a second pass was needed to clear
all error-level findings that were not addressed in the initial sweep.
These fixes bring the for-app-developers section to zero Vale errors.

Changes include: BlockIgnores for TOML frontmatter in .vale.ini to
suppress false-positive Google.Quotes on alias arrays; removal of
exclamation marks (Google.Exclamation) from prose and summary fields;
replacement of Latin abbreviations e.g./i.e. with "for example"/"that
is" (Google.Latin); removal of double spaces after sentence-ending
periods (Google.Spacing); fixing "configure configure" repeated word
(Vale.Repetition); "container(s)" to "containers" (Google.OptionalPlurals);
and "locally-configured" to "locally configured" (Google.LyHyphens).

Signed-off-by: Aidan Delaney <aidan.delaney@gmail.com>
@AidanDelaney AidanDelaney force-pushed the docs/vale-app-developers branch from 0c84fd0 to d856b5f Compare May 7, 2026 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant