Skip to content

Commit dcd6ada

Browse files
jayhackcursoragent
andcommitted
docs: refresh homepage and prune navigation
Rework the site homepage to emphasize the fast in-memory codebase index (beyond the AST), tree-sitter backing, an inline dead-code deletion example, the uvx command pattern, and coding-agent use cases. Prune navigation: remove MCP/documentation/code-research/neo4j tutorials, drop advanced-settings/community/ide-usage/AI+LLM integration intro pages, delete the broken use-cases/organizations/users sections, focus installation on uvx, pin Overview to the top of Introduction, and fix the resulting dead links. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 376d746 commit dcd6ada

30 files changed

Lines changed: 239 additions & 2007 deletions

docs/building-with-graph-sitter/at-a-glance.mdx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,6 @@ Learn how to use Codegen's core APIs to analyze and transform code.
126126
>
127127
Analyze and manipulate local variable usage and scope.
128128
</Card>
129-
<Card
130-
title="Calling Out to LLMs"
131-
icon="robot"
132-
href="/building-with-graph-sitter/calling-out-to-llms"
133-
>
134-
Integrate AI assistance into your code transformations.
135-
</Card>
136129
<Card
137130
title="Codebase Visualization"
138131
icon="chart-network"

docs/building-with-graph-sitter/calling-out-to-llms.mdx

Lines changed: 0 additions & 233 deletions
This file was deleted.

docs/building-with-graph-sitter/codegen-with-wsl.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,5 @@ If you plan on using Codegen's MCP (Model Context Protocol) or LSP (Language Ser
7171
For any additional issues, see the [troubleshooting guide](/introduction/installation#troubleshooting).
7272

7373
<Note>
74-
For more help, join our [community Slack](/introduction/community) or check the [FAQ](/introduction/faq).
74+
For more help, check the [FAQ](/introduction/faq).
7575
</Note>

docs/building-with-graph-sitter/comments-and-docstrings.mdx

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -185,12 +185,6 @@ new_docstring = codebase.ai(
185185
function.set_docstring(new_docstring)
186186
```
187187

188-
<Tip>
189-
Learn more about AI documentation capabilities in our [Documentation
190-
Guide](/tutorials/creating-documentation) and [LLM Integration
191-
Guide](/building-with-graph-sitter/calling-out-to-llms).
192-
</Tip>
193-
194188
### Documentation Coverage
195189

196190
You can analyze and improve documentation coverage across your codebase:
@@ -206,9 +200,4 @@ for function in codebase.functions:
206200

207201
coverage = (documented / total * 100) if total > 0 else 0
208202
print(f"Documentation coverage: {coverage:.1f}%")
209-
```
210-
211-
<Note>
212-
Check out the [Documentation Guide](/tutorials/creating-documentation) for
213-
more advanced coverage analysis and bulk documentation generation.
214-
</Note>
203+
```

docs/building-with-graph-sitter/reusable-codemods.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ gs create rename-function . -d "Rename the getUserData function to fetchUserProf
4242

4343
This will:
4444
1. Generate an implementation based on your description
45-
2. Create a custom system prompt that you can provide to an IDE chat assistant (learn more about [working with AI](/introduction/work-with-ai))
45+
2. Create a custom system prompt that you can provide to an IDE chat assistant
4646
3. Place both files in the codemod directory
4747

4848
## Running Codemods

docs/introduction/about.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ We believe in the power of open source software. Our core library, [codegen](htt
4040
<Card title="Careers" icon="briefcase" href="https://codegen.com/careers">
4141
We're hiring! Join us in building the future of code transformation.
4242
</Card>
43-
<Card title="Community" icon="people-group" href="/introduction/community">
43+
<Card title="GitHub" icon="github" href="https://github.com/codegen-sh/graph-sitter">
4444
Connect with other developers and share your Graph-sitter experiences.
4545
</Card>
4646
</CardGroup>

0 commit comments

Comments
 (0)