Skip to content

[Docs] Add platform circles - #4370

Merged
m-bert merged 1 commit into
mainfrom
@mbert/docs-platforms-circles
Jul 31, 2026
Merged

[Docs] Add platform circles#4370
m-bert merged 1 commit into
mainfrom
@mbert/docs-platforms-circles

Conversation

@m-bert

@m-bert m-bert commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

Description

This PR bumps t-rex-ui to add newly implemented platform circles.

Test plan

Read docs 🤓

Copilot AI review requested due to automatic review settings July 31, 2026 14:18
@m-bert m-bert added the Documentation Documentation change/enhancement label Jul 31, 2026
@m-bert
m-bert requested a review from coado July 31, 2026 14:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the docs site to support T-Rex UI’s new “platform circles” feature, enabling platform indicators (Android/iOS/Web) to appear alongside relevant Table of Contents entries for API sections.

Changes:

  • Bump @swmansion/t-rex-ui to 1.3.7.
  • Wire platform-circles remark plugins into the Docusaurus classic preset docs pipeline.
  • Annotate selected MDX headings with trailing platform markers ([A], [I], [W]) to drive the ToC indicators.

Reviewed changes

Copilot reviewed 13 out of 14 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/docs-gesture-handler/package.json Bumps @swmansion/t-rex-ui to pick up the platform circles feature.
packages/docs-gesture-handler/docusaurus.config.js Registers the platform-circles remark plugins for docs processing.
packages/docs-gesture-handler/docs/gestures/use-pan-gesture.mdx Adds platform markers to applicable API headings.
packages/docs-gesture-handler/docs/gestures/use-native-gesture.mdx Adds platform markers to applicable API headings.
packages/docs-gesture-handler/docs/gestures/use-hover-gesture.mdx Adds platform markers to applicable API headings.
packages/docs-gesture-handler/docs/gestures/_shared/mouse-button.mdx Adds platform markers to the shared prop heading.
packages/docs-gesture-handler/docs/gestures/_shared/base-gesture-config.mdx Adds platform markers to platform-specific config headings.
packages/docs-gesture-handler/docs/core-components/gesture-detector.mdx Adds platform markers to web-only props.
packages/docs-gesture-handler/docs/components/touchable.mdx Adds platform markers to Android/iOS-specific props.
packages/docs-gesture-handler/docs/components/reanimated-drawer-layout.mdx Adds platform markers to iOS/web and web-only props.
packages/docs-gesture-handler/docs/components/reanimated_swipeable.mdx Adds platform markers to the iOS/web-only prop heading.
packages/docs-gesture-handler/docs/components/pressable.mdx Adds platform markers to platform-specific props.
packages/docs-gesture-handler/docs/components/buttons.mdx Adds platform markers to platform-specific props.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@m-bert
m-bert merged commit edcd60c into main Jul 31, 2026
4 checks passed
@m-bert
m-bert deleted the @mbert/docs-platforms-circles branch July 31, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Documentation change/enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants