Skip to content

docs: add bilingual Rspress docs and live previews - #4

Open
saseungmin wants to merge 4 commits into
mainfrom
codex/bilingual-rspress-docs
Open

saseungmin wants to merge 4 commits into
mainfrom
codex/bilingual-rspress-docs

Conversation

@saseungmin

@saseungmin saseungmin commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Adds a dedicated Rspress site for the current Text Motion API, with 17 matching English/Korean pages and 26 demos across 39 embed locations per language.

Changes

  • Document installation, recipes, presets, splitters, renderers, timelines, effects, playback, segmentation, accessibility, and performance.
  • Run 24 interactive demo types with the actual library through an isolated Expo/React Native Web bundle. Compare stagger start/center/end/edges directions with the selected recipe, iframe, syntax-highlighted code, and copy action kept in sync. Keep Typewriter timeline progress distinct from its live visible-character count.
  • Provide real English iOS recordings for rendered-line reveal and width reflow, with matching light/dark palettes, posters, and captions. Width reflow preserves 50% progress while switching 220/320 layout units (four/three measured lines), then replays each width. Native line measurement is explicitly separated from RNW previews.
  • Extract recipe dependencies and the shared player source automatically for the code viewer, with syntax highlighting and copy controls.
  • Use the shared Motion Kit rabbit logo, compact neutral demo styling, responsive controls, and theme updates that preserve live playback.
  • Add workspace scripts and CI checks for documentation builds, language parity, links, navigation, demo/source coverage, and source freshness.

Validation

  • Documentation source-extraction tests: 11 pass, including all 26 demo recipes, four selected stagger source variants, dependency isolation, source freshness, and invalid registries.
  • pnpm run docs:check, pnpm run typecheck, example typecheck, lint, and format checks pass.
  • Library and documentation builds pass; existing library tests: 226 pass.
  • Browser-checked replay/reset/progress, Typewriter 0/25/50% character counts, all four stagger selections with matching preview/source/copy, code switching, English/Korean labels, 375px/landscape layouts, and both themes.
  • Captured the actual native line renderer on an isolated iPhone 17 / iOS 26.2 simulator.

The native recording exposed adjacent-line bleed in the existing renderer. The library correction and seven regression tests are isolated in PR #5. Both theme recordings and posters were refreshed using that corrected renderer and checked through intermediate animation frames. Merge #5 before this documentation PR so the published recording matches the library behavior. This PR does not change public library source.

Run pnpm docs:dev for local development. Production output is docs/doc_build/; hosting/domain configuration remains separate.

@changeset-bot

changeset-bot Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 470a266

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-27T14:08:37.948986Z d9454dc PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@saseungmin saseungmin changed the title docs: add bilingual Rspress documentation docs: add bilingual Rspress docs and live previews Oct 31, 2026
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