context7 icon indicating copy to clipboard operation
context7 copied to clipboard

Feature Request: Support multiple product docs in one repo

Open jtviolet opened this issue 8 months ago • 1 comments

We have multiple products, all of which are documented in one docs site repo. What would be the best way to handle this with the root context7.json?

jtviolet avatar Jun 23 '25 21:06 jtviolet

unfortunately the current context7.json is one-to-one associated to one single repo. we had the same issue for upstash. here our workaround (until we have a better support in context7.json):

  • we forked the docs repo for each product.
  • we set folders=/product-folder using folders config in context7.json

https://github.com/Context7/upstash-redis + https://github.com/Context7/upstash-vector

https://github.com/upstash/docs

the drawback of this approach is you have to sync each fork when the main repo has an update then refresh the context7 repo.

enesakar avatar Jun 24 '25 11:06 enesakar