[codex] Add Context7 configuration#8417
Open
jderochervlk wants to merge 5 commits intorescript-lang:masterfrom
Open
[codex] Add Context7 configuration#8417jderochervlk wants to merge 5 commits intorescript-lang:masterfrom
jderochervlk wants to merge 5 commits intorescript-lang:masterfrom
Conversation
Signed-off-by: Josh Vlk <josh@vlkpack.com>
Signed-off-by: Josh Vlk <josh@vlkpack.com>
rescript
@rescript/darwin-arm64
@rescript/darwin-x64
@rescript/linux-arm64
@rescript/linux-x64
@rescript/runtime
@rescript/win32-x64
commit: |
fhammerschmidt
approved these changes
May 9, 2026
| "$schema": "https://context7.com/schema/context7.json", | ||
| "projectTitle": "ReScript", | ||
| "description": "ReScript is a statically typed language for web development that compiles to clean, readable JavaScript, with sound types, fast builds, and seamless JS interop.", | ||
| "folders": ["docs", "packages/@rescript/runtime", "tools"], |
Member
There was a problem hiding this comment.
Do we somehow need to specifically state that the docs are found e.g. in
/@rescript/runtime/lib/ocaml/Stdlib_Bool.resi
Contributor
Author
There was a problem hiding this comment.
No, the folders just tells it where to scan. The rules are for anyone accessing the library from context7, not for instructions on how it should parse things. From what I can tell it does a decent job of figuring things out.
Contributor
Author
|
I'll need someone with merge permissions to merge this in for me. |
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.
Summary
context7.jsonfor Context7 indexing.rescript-toolsCLI material.https://rescript-lang.org/llms.txtfor website-hosted language, manual, React, and ecosystem documentation.Tests and Fixtures
I reviewed
tests/tools_testsand the broader test tree. They are useful maintainer fixtures, but I lefttestsexcluded because indexing them would mix deprecated API migration inputs, expected outputs, and implementation-focused compiler/build fixtures into user-facing Context7 results.tools/src/migrate.mdkeeps the useful migration CLI context without that noise.Validation
context7.jsonwith Node.rescript-toolsrule, andllms.txtrule are present.