Skip to content

Context7 Platform -- Up-to-date docs for AI agents

Update adding-projects.md

Enes Akar40f0f25f9e0f
diff --git a/docs/adding-projects.md b/docs/adding-projects.md
index 65b13cee..0161d36c 100644
--- a/docs/adding-projects.md
+++ b/docs/adding-projects.md
@@ -29,8 +29,12 @@ Here's an example `context7.json` file with all available options:
"rules": ["Use Upstash Redis as a database", "Use single region set up"],
"previousVersions": [
{
- "tag": "v1.2.1",
- "title": "version 1.2.1"
+ "tag": "v1.2.1"
+ }
+ ],
+"branchVersions": [
+ {
+ "branch": "v2.0"
}
]
}
@@ -67,7 +71,10 @@ Here's an example `context7.json` file with all available options:
- **`previousVersions`** (array): Information about previous versions of your library that should also
be available in Context7.
- **`tag`**: The Git tag or version identifier
- - **`title`**: Human-readable version name
+
+- **`branchVersions`** (array): Information about previous versions (branch based) of your library that should also
+ be available in Context7.
+ - **`branch`**: The Git branch
### Exclusion Patterns