Skip to content

Commit e0865b2

Browse files
authored
docs: Remove old docs, update url (#32)
- **update docs and remove agent docs** - **fix workflow**
1 parent 342c607 commit e0865b2

File tree

229 files changed

+3604
-4023
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

229 files changed

+3604
-4023
lines changed

.github/workflows/generate-docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@ jobs:
2222
uses: ./.github/actions/setup-environment
2323

2424
- name: Generate API reference
25-
run: uv run python src/graph-sitter/gscli/cli.py generate docs
25+
run: uv run python src/graph_sitter/gscli/cli.py generate docs
2626

2727
- name: Generate System Prompt
28-
run: uv run python src/graph-sitter/gscli/cli.py generate system-prompt
28+
run: uv run python src/graph_sitter/gscli/cli.py generate system-prompt
2929

3030
- name: Commit changes
3131
run: |
3232
git config --local user.email ${{ secrets.DOCS_USER_EMAIL }}
3333
git config --local user.name ${{ secrets.DOCS_USER_NAME }}
34-
git add docs/ src/codegen/sdk/system-prompt.txt
34+
git add docs/ src/graph_sitter/system-prompt.txt
3535
git diff --staged --quiet || git commit -m "docs: updated API reference"
3636
3737
- name: Push changes

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<br />
22

33
<p align="center">
4-
<a href="https://docs.codegen.com">
4+
<a href="https://graph-sitter.com">
55
<img src="https://i.imgur.com/6RF9W0z.jpeg" />
66
</a>
77
</p>
@@ -13,7 +13,7 @@
1313
<div align="center">
1414

1515
[![PyPI](https://img.shields.io/badge/PyPi-codegen-gray?style=flat-square&color=blue)](https://pypi.org/project/codegen/)
16-
[![Documentation](https://img.shields.io/badge/Docs-docs.codegen.com-purple?style=flat-square)](https://docs.codegen.com)
16+
[![Documentation](https://img.shields.io/badge/Docs-graph-sitter.com-purple?style=flat-square)](https://graph-sitter.com)
1717
[![Slack Community](https://img.shields.io/badge/Slack-Join-4A154B?logo=slack&style=flat-square)](https://community.codegen.com)
1818
[![License](https://img.shields.io/badge/Code%20License-Apache%202.0-gray?&color=gray)](https://github.com/codegen-sh/graph-sitter/tree/develop?tab=Apache-2.0-1-ov-file)
1919
[![Follow on X](https://img.shields.io/twitter/follow/codegen?style=social)](https://x.com/codegen)
@@ -22,7 +22,7 @@
2222

2323
<br />
2424

25-
[Codegen](https://docs.codegen.com) is a python library for manipulating codebases.
25+
[Codegen](https://graph-sitter.com) is a python library for manipulating codebases.
2626

2727
```python
2828
from codegen import Codebase
@@ -49,7 +49,7 @@ We support
4949
- macOS and Linux
5050
- macOS is supported
5151
- Linux is supported on x86_64 and aarch64 with glibc 2.34+
52-
- Windows is supported via WSL. See [here](https://docs.codegen.com/building-with-codegen/codegen-with-wsl) for more details.
52+
- Windows is supported via WSL. See [here](https://graph-sitter.com/building-with-codegen/codegen-with-wsl) for more details.
5353
- Python, Typescript, Javascript and React codebases
5454

5555
```
@@ -73,7 +73,7 @@ gs notebook
7373

7474
## Usage
7575

76-
See [Getting Started](https://docs.codegen.com/introduction/getting-started) for a full tutorial.
76+
See [Getting Started](https://graph-sitter.com/introduction/getting-started) for a full tutorial.
7777

7878
```
7979
from codegen import Codebase
@@ -91,8 +91,8 @@ If you run into additional issues not listed here, please [join our slack commun
9191

9292
## Resources
9393

94-
- [Docs](https://docs.codegen.com)
95-
- [Getting Started](https://docs.codegen.com/introduction/getting-started)
94+
- [Docs](https://graph-sitter.com)
95+
- [Getting Started](https://graph-sitter.com/introduction/getting-started)
9696
- [Contributing](CONTRIBUTING.md)
9797
- [Contact Us](https://codegen.com/contact)
9898

codegen-examples/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Codegen Examples
22

3-
[![Documentation](https://img.shields.io/badge/docs-docs.codegen.com-blue)](https://docs.codegen.com)
3+
[![Documentation](https://img.shields.io/badge/docs-graph-sitter.com-blue)](https://graph-sitter.com)
44

55
This is a collection of examples using [Codegen](https://codegen.com). You can use these examples to learn how to use Codegen and build custom code transformations.
66

77
## Setup
88

99
We recommend using [`uv`](https://github.com/astral-sh/uv) with Python 3.13 for the best experience.
1010

11-
To install Codegen, please follow the [official installation guide](https://docs.codegen.com/introduction/installation). Once Codegen is installed, use these steps to run the examples in this repository:
11+
To install Codegen, please follow the [official installation guide](https://graph-sitter.com/introduction/installation). Once Codegen is installed, use these steps to run the examples in this repository:
1212

1313
Install the graph_sitter.cli globally
1414

@@ -32,7 +32,7 @@ Your environment is now ready to run example codemods.
3232

3333
### IDE Configuration (Optional)
3434

35-
To configure your IDE for optimal use with Codegen, follow our [IDE setup guide](https://docs.codegen.com/introduction/ide-usage#configuring-your-ide-interpreter).
35+
To configure your IDE for optimal use with Codegen, follow our [IDE setup guide](https://graph-sitter.com/introduction/ide-usage#configuring-your-ide-interpreter).
3636

3737
## Examples
3838

@@ -46,10 +46,10 @@ To see a transformation, simply run the `run.py` script within the desired direc
4646

4747
## Learn More
4848

49-
- [Documentation](https://docs.codegen.com)
50-
- [Getting Started Guide](https://docs.codegen.com/introduction/getting-started)
51-
- [Tutorials](https://docs.codegen.com/tutorials/at-a-glance)
52-
- [API Reference](https://docs.codegen.com/api-reference)
49+
- [Documentation](https://graph-sitter.com)
50+
- [Getting Started Guide](https://graph-sitter.com/introduction/getting-started)
51+
- [Tutorials](https://graph-sitter.com/tutorials/at-a-glance)
52+
- [API Reference](https://graph-sitter.com/api-reference)
5353

5454
## Contributing
5555

codegen-examples/examples/ai_impact_analysis/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ After running the analysis, symbols in the codebase will have the following attr
116116

117117
## Learn More
118118

119-
- [Attributions](https://docs.codegen.com/tutorials/attributions)
120-
- [Codegen Documentation](https://docs.codegen.com)
119+
- [Attributions](https://graph-sitter.com/tutorials/attributions)
120+
- [Codegen Documentation](https://graph-sitter.com)
121121

122122
## Contributing
123123

codegen-examples/examples/ai_impact_analysis/dashboard/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ The dashboard will display:
7878

7979
## Learn More
8080

81-
- [AI Impact Analysis Documentation](https://docs.codegen.com/tutorials/attributions)
82-
- [Codegen Documentation](https://docs.codegen.com)
81+
- [AI Impact Analysis Documentation](https://graph-sitter.com/tutorials/attributions)
82+
- [Codegen Documentation](https://graph-sitter.com)
8383

8484
## Contributing
8585

codegen-examples/examples/codegen-mcp-server/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Codegen MCP Server
22

33
<p align="center">
4-
<a href="https://docs.codegen.com">
4+
<a href="https://graph-sitter.com">
55
<img src="https://i.imgur.com/6RF9W0z.jpeg" />
66
</a>
77
</p>
@@ -13,7 +13,7 @@
1313

1414
<div align="center">
1515

16-
[![Documentation](https://img.shields.io/badge/Docs-docs.codegen.com-purple?style=flat-square)](https://docs.codegen.com)
16+
[![Documentation](https://img.shields.io/badge/Docs-graph-sitter.com-purple?style=flat-square)](https://graph-sitter.com)
1717
[![License](https://img.shields.io/badge/Code%20License-Apache%202.0-gray?&color=gray)](https://github.com/codegen-sh/graph-sitter/tree/develop?tab=Apache-2.0-1-ov-file)
1818

1919
</div>

codegen-examples/examples/codegen-mcp-server/llms-install.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ Please read two things before trying to install this codegen MCP server:
44

55
- This contains the instructions for setting up the mcp server
66

7-
2. [Documentation Index for Agents](https://docs.codegen.com/llms.txt)
7+
2. [Documentation Index for Agents](https://graph-sitter.com/llms.txt)
88

99
- This contains a list of urls to the documentation for topics related to creating codegen codemods
1010

1111
Please use a CURL command to retrieve the contents of the readme and documentation and read both before starting to install the server.
1212

1313
1. curl -sL "https://raw.githubusercontent.com/codegen-sh/graph-sitter/refs/heads/develop/README.md" | cat
1414

15-
1. curl -sL "https://docs.codegen.com/llms.txt" | cat
15+
1. curl -sL "https://graph-sitter.com/llms.txt" | cat
1616

1717
This should give you all the context you need to successfully install and utilize the server.

codegen-examples/examples/cyclomatic_complexity/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ python run.py
141141
## Learn More
142142

143143
- [About Cyclomatic Complexity](https://en.wikipedia.org/wiki/Cyclomatic_complexity)
144-
- [Codegen Documentation](https://docs.codegen.com)
144+
- [Codegen Documentation](https://graph-sitter.com)
145145

146146
## Contributing
147147

codegen-examples/examples/delete_dead_code/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ python run.py
7474

7575
## Learn More
7676

77-
- [Deleting Dead Code](https://docs.codegen.com/tutorials/deleting-dead-code)
78-
- [Codegen Documentation](https://docs.codegen.com)
77+
- [Deleting Dead Code](https://graph-sitter.com/tutorials/deleting-dead-code)
78+
- [Codegen Documentation](https://graph-sitter.com)
7979

8080
## Contributing
8181

codegen-examples/examples/dict_to_schema/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ python run.py
102102
## Learn More
103103

104104
- [Pydantic Documentation](https://docs.pydantic.dev/)
105-
- [Codegen Documentation](https://docs.codegen.com)
105+
- [Codegen Documentation](https://graph-sitter.com)
106106

107107
## Contributing
108108

0 commit comments

Comments
 (0)