Skip to content

docs: update llms.txt files and register site with context7#1287

Merged
jderochervlk merged 9 commits intomasterfrom
vlk/llm.txt
May 8, 2026
Merged

docs: update llms.txt files and register site with context7#1287
jderochervlk merged 9 commits intomasterfrom
vlk/llm.txt

Conversation

@jderochervlk
Copy link
Copy Markdown
Collaborator

@jderochervlk jderochervlk commented May 7, 2026

Context

This updates the generated LLM documentation indexes so agents have clearer entry points for current and versioned ReScript docs.

Summary

  • Generate /llms.txt as the root ReScript LLM index with explicit major-version links for v12, and v13.
  • Generate versioned manual indexes and llm-full.txt / llm-small.txt files under /llms/manual/<major>/.
  • Keep ReScript React versioned under the package version path, currently v0.14.2.
  • Add ReScript React package version and React runtime version metadata to React LLM docs.
  • Update the generated manual/react LLM docs pages and generator tests.

Verification

  • yarn build:res
  • yarn build:scripts
  • node --test apps/docs/scripts/__tests__/generate-llms.test.mjs
  • yarn build:generate-llms
  • node scripts/test-hrefs.mjs
  • git diff --check
  • yarn ci:format

@jderochervlk
Copy link
Copy Markdown
Collaborator Author

@codex

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@fhammerschmidt
Copy link
Copy Markdown
Member

Do we really need to support v10 and v11?

@jderochervlk
Copy link
Copy Markdown
Collaborator Author

@codex

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0c8ec6e757

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread apps/docs/scripts/generate_llms.res
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 8, 2026

Cloudflare deployment

Deployement ID: fef0508b-5aa2-4e7d-92ab-e210b447f7ad
Deployment Environment: preview

⛅️ wrangler 4.85.0
───────────────────
✨ Compiled Worker successfully
Uploading... (8053/8054)
Uploading... (8054/8054)
✨ Success! Uploaded 1 files (8053 already uploaded) (1.67 sec)

✨ Uploading _redirects
✨ Uploading Functions bundle
🌎 Deploying...
✨ Deployment complete! Take a peek over at https://fef0508b.rescript-lang.pages.dev
✨ Deployment alias URL: https://vlk-llm-txt-9kd0.rescript-lang.pages.dev

@jderochervlk jderochervlk marked this pull request as ready for review May 8, 2026 12:09
@jderochervlk
Copy link
Copy Markdown
Collaborator Author

Do we really need to support v10 and v11?

No, I removed them.

@jderochervlk jderochervlk enabled auto-merge (squash) May 8, 2026 12:10
@jderochervlk jderochervlk merged commit 25c031a into master May 8, 2026
6 checks passed
@jderochervlk jderochervlk deleted the vlk/llm.txt branch May 8, 2026 12:53
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