context7
context7 copied to clipboard
Feature Request: Support multiple product docs in one repo
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?
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.