Skip to content

docs: remove em-dashes from doc prose and a duplicate (required) marker#3260

Merged
cixzhang merged 1 commit into
mainfrom
navi/docs/slop-03
Jun 30, 2026
Merged

docs: remove em-dashes from doc prose and a duplicate (required) marker#3260
cixzhang merged 1 commit into
mainfrom
navi/docs/slop-03

Conversation

@josephfarina

Copy link
Copy Markdown
Contributor

Summary

Removes em-dashes from documentation prose and clears a duplicate (required) marker, following the Doc Reviewer check 17 (AI-slop prose) rubric. Found by a full re-scan of all 789 .doc.mjs files after the cron refresh; these are pre-existing tells, not new content.

Changes (8 files, prose only)

Em-dash recasts (colon / semicolon / comma / parentheses per the right punctuation):

  • Table/useTableColumnResize.doc.mjs (3) and Table/useTableStickyColumns.doc.mjs (2) hook param/return descriptions
  • cli/docs/theme.doc.mjs (2) guide prose
  • LinkProvider/LinkProviderCustomLink.doc.mjs and Table/StickyColumnsHookUsage.doc.mjs block descriptions
  • pages/shell-side-nav and pages/shell-top-nav template descriptions (parenthetical asides)

Duplicate (required) marker:

  • lab/CircularProgress/CircularProgress.doc.mjs label description (English + dense overlay) had a literal (required) while the prop already sets required: true. Removed the literal text so the marker renders once.

What is intentionally left alone

  • Chinese —— and the 必填 marker in docsZh (correct CJK punctuation, exempt)
  • Component — Variant name/displayName labels (naming convention, exempt)
  • Numeric en-dash ranges (2-4, h1-h6, etc.)
  • Em-dashes inside // and /* */ code comments and demo UI copy

Validation

  • pnpm --filter @astryxdesign/core typecheck:docs: pass
  • npx tsc --project packages/cli/tsconfig.template-docs.json --noEmit: pass
  • node .github/scripts/api-cli-parity-test.mjs --no-baseline: 307 pass / 0 fail
  • All 8 files parse as ESM; theme docs render verified clean (no em-dash, single (required))

Night Watch — Doc Reviewer

Recast em-dash asides in prose strings with the correct punctuation
(colon, semicolon, comma, or parentheses) across the Table sticky/resize
hook docs, the theme guide, the LinkProvider and sticky-columns block
descriptions, and the shell-side-nav/shell-top-nav page templates. Drop a
literal '(required)' from the CircularProgress label description and dense
overlay, since the prop already sets required: true and the CLI renders the
marker on its own.

Prose-only changes; no technical claims reworded, no information removed.

Night Watch — Doc Reviewer
@vercel

vercel Bot commented Jun 30, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
astryx Ready Ready Preview, Comment Jun 30, 2026 12:36am

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jun 30, 2026
@github-actions

Copy link
Copy Markdown
Contributor

PR Analysis Report

📚 Storybook Preview

View Storybook for this PR
GitHub Pages may take up to a minute to hydrate after deploy.

🧪 Sandbox Preview

View Sandbox for this PR
GitHub Pages may take up to a minute to hydrate after deploy.

No new or modified components detected.

Bundle Size Summary

Package Size (ESM) Size (CJS) Gzipped
@astryxdesign/core N/A 4.6KB 0B

Accessibility Audit

Status: No accessibility violations detected.


Generated by PR Enrichment workflow | Storybook | Sandbox | View full report

github-actions Bot added a commit that referenced this pull request Jun 30, 2026
@cixzhang cixzhang merged commit 59718fd into main Jun 30, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

2 participants