Skip to content

Style sweep: em dashes, xref hygiene, prohibited words#18

Merged
micheleRP merged 2 commits into
mainfrom
style-sweep-em-dashes
May 11, 2026
Merged

Style sweep: em dashes, xref hygiene, prohibited words#18
micheleRP merged 2 commits into
mainfrom
style-sweep-em-dashes

Conversation

@micheleRP
Copy link
Copy Markdown
Contributor

@micheleRP micheleRP commented May 11, 2026

Summary

Repo-wide style cleanup against docs-team-standards. 73 files touched, 446 ins / 449 del. Six sweeps bundled into one PR (all mechanical or low-risk).

  • Em dashes (~130 across 19 files): * *Term* — definition description lists become * *Term*: Definition with capitalized definitions; parenthetical em-dash pairs become parentheses, commas, or shorter sentences; three no-space em dashes get sentence-appropriate punctuation. Three all-fragment lists lose closing periods to satisfy the list-parallelism rule.
  • Relative xref:../foo.adoc paths in mcp/pages/managed/ (8 files): rewritten to fully qualified xref:mcp:foo.adoc[].
  • Missing-module xref shortcuts (~50 across agents/ai-gateway/mcp/observability/ROOT): add the module prefix (xref:agents:foo.adoc, xref:ai-gateway:foo.adoc, …).
  • === Step N: … headings in ai-hub/eject-to-custom-mode.adoc (and its duplicated ROOT/partials copy): rewritten as descriptive headings.
  • Prohibited words: viathrough, e.g.for example, etc.and so on (or removed when redundant).
  • Three passive-voice rewrites in configure-provider.adoc, create-server.adoc, admin/setup-guide.adoc. Other "is X-ed" patterns left as-is since they describe state, not awkward agentive passive.

Deferred (separate sweep): broader passive-voice rewrites in integrations and ROOT/partials/migration-guide.adoc; cross-repo xref localization (tracked in memory).

Preview pages

Test plan

  • npm run build completes with zero adp-docs-sourced errors. Remaining warnings are pre-existing (unlisted pages, placeholder-attribute lookups in code blocks).
  • Spot-check rendered pages:
    • /redpanda-adp/observability/transcripts/ — description lists render Term: Definition with each definition starting with a capital letter.
    • /redpanda-adp/governance/guardrails/overview/ — learning objective 2 reads "evaluator types (PII, Toxicity, and Custom webhook) and the situations each fits", not em dashes.
    • /redpanda-adp/ai-gateway/admin/setup-guide/ — "Providers default to disabled; an administrator must explicitly enable each one." renders cleanly.
    • /redpanda-adp/mcp/managed/kafka/ — sibling xrefs (User-delegated OAuth, etc.) resolve.
  • grep -rn '—' modules/ in adp-docs returns no hits.

🤖 Generated with Claude Code

- Remove ~130 em dashes across 19 files. Convert `* *Term* — definition`
  description lists to `* *Term*: Definition` (with definitions capitalized);
  rewrite parenthetical em-dash pairs as parentheses, commas, or shorter
  sentences. Three all-fragment description lists lose closing periods to
  match the list-parallelism rule.
- Replace relative `xref:../foo.adoc` paths in `mcp/pages/managed/` with
  fully qualified `xref:mcp:foo.adoc[]` (8 files).
- Add missing module prefixes to bare `xref:foo.adoc[]` shortcuts across
  agents, ai-gateway, mcp, observability, and ROOT modules.
- Replace `=== Step N: …` headings in `eject-to-custom-mode.adoc` (and the
  duplicated ROOT/partials copy) with descriptive headings.
- Replace prohibited words: `via` → `through`, `e.g.` → `for example`,
  `etc.` → `and so on` (or removed where redundant).
- Three passive-voice rewrites in configure-provider, create-server, and
  setup-guide. Other "is X-ed" cases left as-is since they describe state,
  not awkward agentive passive.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@micheleRP micheleRP requested a review from a team as a code owner May 11, 2026 23:23
@netlify
Copy link
Copy Markdown

netlify Bot commented May 11, 2026

Deploy Preview for redpanda-agentic-data-plane ready!

Name Link
🔨 Latest commit 4d28494
🔍 Latest deploy log https://app.netlify.com/projects/redpanda-agentic-data-plane/deploys/6a0267b29edaee0007e20836
😎 Deploy Preview https://deploy-preview-18--redpanda-agentic-data-plane.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

- jira.adoc: "sprints, etc. (read-only operation)" → "sprints, and so on (read-only operation)". My earlier `etc.\)` regex missed the form with a space between `etc.` and `(`.
- cost-tracking.adoc: "The master plan calls for…" → "The parent plan calls for…" in a TODO comment. Style guide bans "master" as a generic descriptor.

Final state: zero adp-docs-sourced build errors, zero matches for em dashes, `Step N:` headings, relative xrefs, missing-module xref shortcuts, `please`/`via`/`etc.`/`e.g.`/`i.e.`, or deprecated terms.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@micheleRP micheleRP merged commit 6e62ba9 into main May 11, 2026
4 checks passed
@micheleRP micheleRP deleted the style-sweep-em-dashes branch May 11, 2026 23:38
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