Skip to content

Conversation

@mateuszlampert
Copy link
Contributor

Description

This PR adds llms.txt file to our docs - llms.txt is built automatically using docusaurus-plugin-llms-txt plugin. Because of some bug regarding absolute urls in the plugin used, this PR also adds postbuild script that fixes duplicated url slugs in the llms.txt file.

Introduces a breaking change?

  • Yes
  • No

Type of change

  • Bug fix (change which fixes an issue)
  • New feature (change which adds functionality)
  • Documentation update (improves or adds clarity to existing documentation)
  • Other (chores, tests, code style improvements etc.)

Tested on

  • iOS
  • Android

Testing instructions

  • build docs locally (yarn build -> yarn serve)
  • verify /react-native-executorch/llms.txt url

Screenshots

llms.txt
Screenshot 2026-01-22 at 13 52 51

Related issues

#416

Checklist

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly
  • My changes generate no new warnings

Additional notes

After merging this PR, our DocSearch crawler configuration should be updated, so is does not index llms.txt file.

@mateuszlampert mateuszlampert self-assigned this Jan 22, 2026
@mateuszlampert mateuszlampert added the documentation Improvements or additions to documentation label Jan 22, 2026
@msluszniak msluszniak linked an issue Jan 22, 2026 that may be closed by this pull request
Copy link
Member

@msluszniak msluszniak left a comment

Choose a reason for hiding this comment

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

Works for me:

Image

@msluszniak msluszniak merged commit a132c5b into main Jan 22, 2026
3 checks passed
@msluszniak msluszniak deleted the @ml/add-llms-txt branch January 22, 2026 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add llms.txt to the docs

3 participants