Skip to content

Commit 18175ae

Browse files
authored
[codex] Add Context7 configuration (#8417)
* Add Context7 configuration Signed-off-by: Josh Vlk <josh@vlkpack.com> * Refine Context7 indexing scope Signed-off-by: Josh Vlk <josh@vlkpack.com> * simplify * format * add public key and url --------- Signed-off-by: Josh Vlk <josh@vlkpack.com>
1 parent acca308 commit 18175ae

1 file changed

Lines changed: 50 additions & 0 deletions

File tree

context7.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"$schema": "https://context7.com/schema/context7.json",
3+
"projectTitle": "ReScript",
4+
"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.",
5+
"folders": ["docs", "packages/@rescript/runtime", "tools"],
6+
"url": "https://context7.com/rescript-lang/rescript",
7+
"public_key": "pk_dEopRkFptH4ndnTyOuXEb",
8+
"excludeFolders": [
9+
"analysis",
10+
"cli",
11+
"compiler",
12+
"lib_dev",
13+
"node_modules",
14+
"rewatch",
15+
"scripts",
16+
"tests",
17+
"docs/changelog",
18+
"docs/docson",
19+
"tools/bin",
20+
"packages/@rescript/*/bin"
21+
],
22+
"excludeFiles": [
23+
"AGENTS.md",
24+
"CLAUDE.md",
25+
"CHANGELOG.md",
26+
"CHANGELOG_BS.md",
27+
"CONTRIBUTING.md",
28+
"COPYING",
29+
"COPYING.LESSER",
30+
"CREDITS.md",
31+
"DCO.md",
32+
"LICENSE",
33+
"LICENSE.MIT",
34+
"build-schema.json",
35+
"dune",
36+
"main.ml",
37+
"migrate.ml",
38+
"migrate.mli",
39+
"package.json",
40+
"reactive_reanalyze_design.md",
41+
"rescript.json",
42+
"tools.ml",
43+
"transforms.ml",
44+
"version.ml"
45+
],
46+
"rules": [
47+
"Use this context for ReScript language APIs, the standard library, and the rescript-tools CLI.",
48+
"For the full language manual, syntax guide, React docs, ecosystem docs, and website-hosted material outside this repository, also consult https://rescript-lang.org/llms.txt."
49+
]
50+
}

0 commit comments

Comments
 (0)