Skip to content

docs: apply Simplified Technical English to site_docs - #19

Merged
OmerBaddour merged 1 commit into
mainfrom
worktree-ste-site-docs
Aug 2, 2026
Merged

docs: apply Simplified Technical English to site_docs#19
OmerBaddour merged 1 commit into
mainfrom
worktree-ste-site-docs

Conversation

@OmerBaddour

Copy link
Copy Markdown
Member

Follow-up to #11, #15, and #16, which applied STE to src/, tests/, example_projects/, and README.md but never touched site_docs/.

CLAUDE.md

  • Expand the STE rule from "code comments and docstrings" to all generated text: user-facing strings, site_docs/, README.md, commit messages, and PR descriptions.
  • Add a Keep site_docs/ up to date section. It tells you to compare each change against site_docs/docs/, and to keep the example code in the docs identical to example_projects/.

The sweep

All 24 pages in site_docs/docs/ now follow STE: active verbs, short sentences, no -ing forms, no present perfect, and no ambiguous words such as check or verify.

Errors that the sweep found

The docs had drifted from the code. Four fixes:

Page Problem
quickstart.md, cli/init.md The clair init prompt showed the text from before #16.
guides/routing.md The routing collision warning showed the text from before #16.
guides/incrementality.md The APPEND example showed a static 3-day filter. The real example_3 builds the SQL with clair.run_mode, thus a full refresh reads all rows.
concepts/index.md, guides/selectors.md index.md said "three" concepts but listed four. selectors.md said all commands accept --select, but its own table lists three that do not.

example_3/derived/customer_order_summary.py also gets a docstring fix, so that it stays identical to the copy in the docs: Clairclair, and one passive sentence made active.

Checks

  • uv run pytest tests/ — 516 passed
  • mkdocs build --strict — clean, so no links broke

🤖 Generated with Claude Code

Expand the STE rule in CLAUDE.md from code comments and docstrings to all
generated text: user-facing strings, site_docs, README, and commit messages.

Add a rule that tells you to keep site_docs/ up to date with each change,
and to keep the example code in site_docs/ identical to example_projects/.

Rewrite all 24 pages in site_docs/docs/ in STE: active verbs, short
sentences, no -ing forms, no present perfect, and no ambiguous words.

Also correct four errors that the sweep found:

- The clair init prompt in quickstart.md and cli/init.md showed the text
  from before #16.
- The routing collision warning in guides/routing.md showed the text from
  before #16.
- guides/incrementality.md showed a static date filter for APPEND. The
  example now uses clair.run_mode, as example_3 does.
- concepts/index.md said "three" concepts, but listed four.
  guides/selectors.md said all commands accept --select, but its own
  table lists three that do not.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@OmerBaddour
OmerBaddour marked this pull request as ready for review August 2, 2026 21:23
@OmerBaddour
OmerBaddour merged commit 9b0c630 into main Aug 2, 2026
3 checks passed
@OmerBaddour
OmerBaddour deleted the worktree-ste-site-docs branch August 2, 2026 21: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.

1 participant