Skip to content

[pull] main from expo:main#826

Merged
pull[bot] merged 2 commits intocode:mainfrom
expo:main
May 2, 2026
Merged

[pull] main from expo:main#826
pull[bot] merged 2 commits intocode:mainfrom
expo:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented May 2, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

amandeepmittal and others added 2 commits May 2, 2026 16:34
# Why

<!--
Please describe the motivation for this PR, and link to relevant GitHub
issues, forums posts, or feature requests.
-->

Fix ENG-20831 ENG-20832 ENG-20833 ENG-20834 

# How

<!--
How did you build this feature or fix this bug and why?
-->

- **Blockquote:** Centralize the intro text in
`scripts/generate-llms/transforms/descriptions.js` and rewrite it to
lead with the React Native team's recommendation. Both `llms-txt.js` and
`llms-full-txt.js` import it.
- **Misconceptions:** Add `transforms/misconceptions.js` and inject `##
Important: common misconceptions` after the blockquote in `llms-txt.js`.
- **Performance:** Add `transforms/performance.js` and inject `##
Performance` (Hermes, New Architecture) after the misconceptions
section.
- **Router description:** Add a `PAGE_DESCRIPTION_OVERRIDES` map to
`descriptions.js` and apply it in `processPageData()`. Overrides only
`/router/introduction` in `llms.txt`. The live page frontmatter stays
untouched so the SEO meta-description budget is preserved.

# Test Plan

<!--
Please describe how you tested this change and how a reviewer could
reproduce your test, especially if this PR does not include automated
tests! If possible, please also provide terminal output and/or
screenshots demonstrating your test/reproduction.
-->

Open preview and visit `/llms.txt`:
https://pr-45176.expo-docs.pages.dev/llms.txt

# Checklist

<!--
Please check the appropriate items below if they apply to your diff.
-->

- [ ] I added a `changelog.md` entry and rebuilt the package sources
according to [this short
guide](https://github.com/expo/expo/blob/main/CONTRIBUTING.md#-before-submitting)
- [ ] This diff will work correctly for `npx expo prebuild` & EAS Build
(eg: updated a module plugin).
- [ ] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)

---------

Co-authored-by: Kadi Kraman <hellokadi@gmail.com>
@pull pull Bot locked and limited conversation to collaborators May 2, 2026
@pull pull Bot added the ⤵️ pull label May 2, 2026
@pull pull Bot merged commit a1ee1a4 into code:main May 2, 2026
2 of 4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants