Context7
Context7 provides up-to-date, version-specific documentation context for AI coding assistants. To register a library with Context7, you need to host a context7.json file anywhere under the library’s base URL. Fern handles this for you through the integrations configuration in docs.yml.
Requires Fern CLI version 4.52.0 or later. Run fern upgrade to update.
Get your context7.json file
Follow Context7’s setup instructions to generate a context7.json verification file for your domain.
Add the file to your Fern project
Place the context7.json file in your fern/ directory (or any path relative to docs.yml).