Skip to content

feat: add a shared Vale style package for documentation prose - #376

Merged
brendanclement merged 5 commits into
mainfrom
brendan/vale-style-package
Oct 19, 2026
Merged

brendanclement merged 5 commits into
mainfrom
brendan/vale-style-package

Conversation

@brendanclement

@brendanclement brendanclement commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

lancedb/lancedb and lancedb/sophon publish pages from docs/web, but nothing checks the mechanical rules of the LanceDB writing style, so reviewers keep catching the same naming and punctuation mistakes by hand.

Change.

  • Add STYLE.md, a practical guide to page purpose, examples, tradeoffs, clear wording and formatting, linked from WRITING.md.
  • Add vale/LanceDB, a small Vale package: product names, em dashes and their substitutes, vague headings and phrases, plain-language suggestions, plus Vale.Repetition. Each rule has test cases.
  • Lint this repository's own pages with the working copy of the package, skipping the generated dataset pages.
  • Add a Prose style workflow that tests the rules and annotates only the lines a pull request changes. Style findings never fail it; an install, sync or configuration error does.

Add STYLE.md, a short guide to names, punctuation, headings and wording, and
vale/LanceDB, a Vale package that checks its mechanical rules: product names,
em dashes and their substitutes, repeated words, and two vague phrasings.
lancedb/lancedb and lancedb/sophon pin the package by release; this
repository lints its own pages with the working copy and skips the generated
dataset pages. The Prose style workflow tests the rules and annotates only the
lines a pull request changes, without failing.
Style findings never fail the check, but a failure to install Vale, sync the package or read its configuration still fails the job.
Archiving a directory uses the current time for every entry, so two builds of the same commit differ. Set --mtime to the commit time.
@brendanclement
brendanclement marked this pull request as ready for review October 19, 2026 17:15

@rpgreen rpgreen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool! Does it pass on the existing repo?

@brendanclement

Copy link
Copy Markdown
Contributor Author

Cool! Does it pass on the existing repo?

its advisory, so it does pass. it had a bunch of suggestions that I have a pending local PR to address

@brendanclement
brendanclement merged commit 21e885a into main Oct 19, 2026
5 checks passed
@brendanclement
brendanclement deleted the brendan/vale-style-package branch October 19, 2026 17:23
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.

2 participants