Add JSON-LD and llms.txt for AI search - #155
Merged
piotmag769 merged 2 commits intoAug 25, 2026
Merged
Conversation
One module injects Organization and SoftwareSourceCode structured data using the same @id as swmansion.com, and writes llms.txt from the pages VitePress just built. The workflow fails if the file is missing or lists nothing.
halskiszymon
marked this pull request as ready for review
August 20, 2026 10:11
piotmag769
approved these changes
Aug 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two SEO changes for the website. Nothing changes the rendered page.
transformHead:Organizationwith the same@idas swmansion.com, plusSoftwareSourceCode, both derived fromsiteConfig. The identical@idis what makes engines read this site and swmansion.com as one entity instead of two unrelated ones.llms.txtviabuildEnd, written from the pages VitePress just built — no new dependency. The workflow fails if the file is missing or lists nothing.Both live in
website/.vitepress/swm-geo.mjs; the config gains an import and two lines. The same change is going out across the docs repos; reference: software-mansion/react-native-reanimated#10332.Check: this workflow only runs on push and dispatch, so the new step could not run on this PR. It sits before the Pages upload, so a broken
llms.txtblocks the deploy rather than shipping silently. The equivalent step is green in the Docusaurus repos, listing 25 to 90 pages.