From 8085b20cf280a8e95f5a5b6b866246d81e6614aa Mon Sep 17 00:00:00 2001 From: Rushil Patel Date: Wed, 12 Feb 2025 11:52:02 -0800 Subject: [PATCH] fix: add doc indexing instructions --- docs/introduction/ide-usage.mdx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/introduction/ide-usage.mdx b/docs/introduction/ide-usage.mdx index f5ae5809b..3c58d39ab 100644 --- a/docs/introduction/ide-usage.mdx +++ b/docs/introduction/ide-usage.mdx @@ -62,7 +62,7 @@ it will allow an agent to: ### IDE Configuration #### Cline Add this to your cline_mcp_settings.json: -``` +```json { "mcpServers": { "codegen-cli": { @@ -89,6 +89,13 @@ Command: uv --directory /codegen-sdk/src/codegen/c ``` +## Index Codegen Docs +#### Cursor: +If you use Cursor you'll be able to configure the IDE to index the Codegen docs. To do so go to `Settings` > `Features` > `Docs` +and then click on `Add new docs`. We recommend using this url to index the API reference: +``` +https://docs.codegen.com/api-reference/index +``` ## Create a New Codemod