Skip to content

docs: establish Rspress docs as the library reference#15

Merged
saseungmin merged 2 commits into
mainfrom
feat/rspress-docs
Jun 26, 2026
Merged

docs: establish Rspress docs as the library reference#15
saseungmin merged 2 commits into
mainfrom
feat/rspress-docs

Conversation

@saseungmin

Copy link
Copy Markdown
Member

Add a v1-only Rspress documentation workspace for English and Korean guides. The npm README is now compact, while generated AI-readable markdown is exposed for agents until the public docs URL exists.

Add a v1-only Rspress documentation workspace for English and Korean guides.
The npm README is now compact, while generated AI-readable markdown is exposed
for agents until the public docs URL exists.

Constraint: Public docs deployment URL is not available yet
Constraint: Bob declaration generation must stay scoped to src
Rejected: Keep README as the full reference | detailed guidance now belongs in docs site
Confidence: high
Scope-risk: moderate
Directive: Do not let docs participate in library declaration builds
Tested: yarn build
Tested: yarn typecheck
Tested: yarn workspace @react-native-motion-kit/swipe-deck-docs typecheck
Tested: yarn workspace @react-native-motion-kit/swipe-deck-docs build
Tested: yarn format:check; yarn lint; git diff --check
@changeset-bot

changeset-bot Bot commented Jun 26, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 3114049

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@react-native-motion-kit/swipe-deck Patch

Not sure what this means? Click here to learn what changesets are.

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

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bd3ddc174c

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/theme/index.tsx
import { useEffect } from 'react';

const GUIDE_SECTION_NAMES = new Set(['getting-started', 'usage']);
const INSTALL_PACKAGES = '@react-native-motion-kit/swipe-deck';

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Include the required peer packages in the homepage installer

The homepage installer tabs now expand from this single package name, so the generated yarn/pnpm/bun commands install only @react-native-motion-kit/swipe-deck. This package declares react-native-gesture-handler, react-native-reanimated, and react-native-worklets as peer dependencies in package.json, and the README/installation guide already tell users to install them; users copying the prominent homepage command with a package manager that does not auto-install peers will hit missing native/JS dependencies at runtime.

Useful? React with 👍 / 👎.

Comment thread docs/docs/1.x/en/guide/usage/programmatic-actions.mdx Outdated
Wrap the button label in Text in both English and Korean programmatic action
examples so copied React Native snippets do not render raw string children
under Pressable.

Constraint: React Native requires text strings to be rendered inside Text
Rejected: Leave the inline Pressable example | copied snippet fails at runtime
Confidence: high
Scope-risk: narrow
Tested: yarn workspace @react-native-motion-kit/swipe-deck-docs build
Tested: yarn workspace @react-native-motion-kit/swipe-deck-docs typecheck
Tested: yarn format; git diff --check
@saseungmin saseungmin merged commit 3521a83 into main Jun 26, 2026
3 checks passed
@saseungmin saseungmin deleted the feat/rspress-docs branch June 26, 2026 12:43
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