Skip to content

docs: correctness fixes + em-dash style sweep (atoms + waves) - #359

Draft
abhishekmishragithub wants to merge 3 commits into
mainfrom
chore/docs-style-correctness
Draft

docs: correctness fixes + em-dash style sweep (atoms + waves)#359
abhishekmishragithub wants to merge 3 commits into
mainfrom
chore/docs-style-correctness

Conversation

@abhishekmishragithub

Copy link
Copy Markdown
Collaborator

Two commits, reviewable separately.

1. Correctness fixes (spec-verified)

  • STT pre-recorded size limitaudio-formats.mdx said "No limit on file size"; the API caps requests at 250 MB (larger → HTTP 413), per the STT OpenAPI spec.
  • Cloned-voice modelhow-to-vc-api.mdx implied clones run on lightning_v3.1_pro; the TTS spec says cloning is lightning_v3.1 only. Removed the Pro option.
  • Broken link — "Migrate from OpenAI" card/link pointed at migrate-from-open-ai (nonexistent). Correct slug is migrate-from-openai. Fixed 3 refs.
  • Duplicated pagedeep-dive/realtime-events/events.mdx had its entire body (and an inline copy of the frontmatter) pasted twice. Removed the duplicate, kept one copy + the trailing callout.

2. Em-dash style sweep (mechanical)

  • Replaced the em-dash character with a hyphen across 288 MDX files (1702 sites) in both product trees (house style: no em-dashes).
  • Code fences untouched; en-dash numeric ranges (5–15 seconds) preserved.
  • Mechanical substitution — a few sites may read better re-punctuated on a later editorial pass.

Coverage audit result (no code change)

Ran a parallel SDK-vs-spec-vs-docs coverage audit alongside this. SDK feature coverage is complete for both the current release and 6.0 (analytics, billing, call-actions, concurrency, agent-versioning branch model, webhooks incl. update, TTS/STT/voice-cloning/electron/streaming all present). An initial "missing endpoints" scare traced to auditing a stale local working tree, not a real gap.

Genuinely open items (not in this PR):

  • Live-STT VAD events (speech_started/speech_ended) aren't modeled as typed receive messages in stt-live-ws.yaml, so the SDK can't surface them typed. Spec under-modeling.
  • Missing image assets referenced by a few atoms editor/single-prompt pages.
  • Stale Mintlify docs.json orphan in the atoms tree (repo ships on Fern).
  • pulse.mdx streaming-vs-pre-recorded language counts need a careful spec reconcile (left untouched — couldn't verify cleanly).

Draft — for review, not auto-merge.

…uplicated page

- speech-to-text/pre-recorded/audio-formats: "No limit on file size" was wrong;
  the pre-recorded STT API caps requests at 250 MB (larger returns HTTP 413),
  per the STT OpenAPI spec.
- voice-cloning/how-to-vc-api: cloned voices run on lightning_v3.1 only; cloning
  is not available on lightning_v3.1_pro (per the TTS spec). Removed the Pro
  option from the compatibility table.
- llm (overview, quickstart, supported-parameters): "Migrate from OpenAI" card/
  link pointed at migrate-from-open-ai, which does not exist; the page slug is
  migrate-from-openai. Fixed 3 references.
- deep-dive/realtime-events/events: the entire page body (plus a stray inline
  copy of the frontmatter) was duplicated. Removed the duplicate, keeping one
  copy of each section and the trailing callout.
Mechanical sweep: replaced the em-dash character with a hyphen across all MDX
prose in both product doc trees (house style: no em-dashes). Code fences are
left untouched, and en-dash numeric ranges (e.g. 5–15 seconds) are preserved.

1702 replacements across 288 files. Substitution is mechanical; a few sites may
read better re-punctuated (comma/colon/parentheses) on a later editorial pass.
@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown

Earlier this file was edited to claim cloning is unavailable on
lightning_v3.1_pro (matching the TTS/cloning specs). The platform actually
supports Pro cloning, so the spec is stale, not the doc. Restored the row to
list both lightning_v3.1 and lightning_v3.1_pro.

Spec enum + SDK regen for the exact create-clone Pro model token are a separate
follow-up (need the runtime token confirmed against the API).
@abhishekmishragithub

Copy link
Copy Markdown
Collaborator Author

Correction: the earlier "cloned voices are lightning_v3.1-only" change was reverted — the platform supports cloning on lightning_v3.1_pro, so the spec is stale, not the doc. The remaining spec enum + SDK regen for the exact create-clone Pro token are a separate follow-up (need the runtime token confirmed against the API; the .env key on hand is unauthorized).

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