Skip to content

docs: document link pills and link menus - #947

Merged
eszlamczyk merged 2 commits into
mainfrom
hryhoriiK97/docs-link-pills-and-menus
Oct 9, 2026
Merged

eszlamczyk merged 2 commits into
mainfrom
hryhoriiK97/docs-link-pills-and-menus

Conversation

@hryhoriiK97

@hryhoriiK97 hryhoriiK97 commented Oct 7, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

The link-pill stack (#920, #921, #923) documented both features only in docs-md/. This PR brings them to the Docusaurus site and the README:

  • New pages: rich-text-formatting/link-pills and user-experience/link-menus, each with a native-only LivePreview example.
  • Reference: linkPillContent and linkContextMenuItems (iOS 17+ badge) on the EnrichedMarkdownText page, with their exported types; onLinkLongPress notes the menu precedence; the pill key is mentioned under link styles.
  • Platform notes: web-support ignored keys/props, macOS limitations, and the feature table.
  • Indexes: llms.txt, the docs tree in docs/CLAUDE.md, and a pointer from the Mentions page.
  • README: feature bullets for both, and all ../../docs/*.md links repointed to docs-md/, where main moved the Markdown docs (they were broken since that rename).

Based on main, which now has the whole stack merged.

Test plan

  • node scripts/check-examples.mjs - examples in sync, 129 across 12 folders
  • node scripts/check-llms.mjs - all 30 pages listed
  • yarn build in docs/ - no broken links or anchors
  • Preview the two new pages in the docs-build job

🤖 Generated with Claude Code

The Docusaurus site had no page for either feature. Add "Link pills" under
Rich text formatting and "Link menus" under User experience, document
linkPillContent and linkContextMenuItems in the EnrichedMarkdownText
reference, and note the web and macOS behavior in their guides and the
feature table. The README gains a bullet for each, and its doc links now
point at docs-md/, where main moved the Markdown docs.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

@eszlamczyk eszlamczyk left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Some of the files break the docs conventions

Comment thread docs/docs/react-native/api-reference/enriched-markdown-text.md
Comment thread docs/docs/react-native/guides/link-pills.md
Comment thread docs/docs/rich-text-formatting/link-pills.md Outdated
Comment thread docs/docs/rich-text-formatting/link-pills.md Outdated
Comment thread docs/docs/rich-text-formatting/link-pills.md Outdated
Comment thread docs/docs/rich-text-formatting/mentions.md Outdated
Comment thread docs/docs/react-native/guides/link-menus.md
@eszlamczyk
eszlamczyk merged commit 99b52b9 into main Oct 9, 2026
20 checks passed
@eszlamczyk
eszlamczyk deleted the hryhoriiK97/docs-link-pills-and-menus branch October 9, 2026 07:24
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.

2 participants