Skip to content

Remove Permalink #525

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/tutorials/fixing-import-loops-in-pytorch.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Import loops occur when two or more Python modules depend on each other, creatin
In this tutorial, we'll explore how to identify and fix problematic import cycles using Codegen.

<Info>
You can find the complete example code in our [examples repository](https://github.com/codegen-sh/codegen-sdk/tree/93f0d4cd7740e3e01ee7ecfd69fd3259b8ebf783/codegen-examples/examples/removing_import_loops_in_pytorch).
You can find the complete example code in our [examples repository](https://github.com/codegen-sh/codegen-sdk/tree/develop/codegen-examples/examples/removing_import_loops_in_pytorch).
</Info>

## Overview
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/flask-to-fastapi.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ iconType: "solid"

Migrating from [Flask](https://flask.palletsprojects.com/) to [FastAPI](https://fastapi.tiangolo.com/) involves several key changes to your codebase. This guide will walk you through using Codegen to automate this migration, handling imports, route decorators, static files, and template rendering.

You can find the complete example code in our [examples repository](https://github.com/codegen-sh/codegen-sdk/tree/93f0d4cd7740e3e01ee7ecfd69fd3259b8ebf783/codegen-examples/examples/flask_to_fastapi_migration)
You can find the complete example code in our [examples repository](https://github.com/codegen-sh/codegen-sdk/tree/develop/codegen-examples/examples/flask_to_fastapi_migration)

## Overview

Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/python2-to-python3.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ iconType: "solid"
Migrating from Python 2 to Python 3 involves several syntax and API changes. This guide will walk you through using Codegen to automate this migration, handling print statements, string handling, iterators, and more.

<Info>
You can find the complete example code in our [examples repository](https://github.com/codegen-sh/codegen-sdk/tree/93f0d4cd7740e3e01ee7ecfd69fd3259b8ebf783/codegen-examples/examples/python2_to_python3).
You can find the complete example code in our [examples repository](https://github.com/codegen-sh/codegen-sdk/tree/develop/codegen-examples/examples/python2_to_python3).
</Info>

## Overview
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/sqlalchemy-1.6-to-2.0.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ iconType: "solid"
Migrating from [SQLAlchemy](https://www.sqlalchemy.org/) 1.6 to 2.0 involves several API changes to support the new 2.0-style query interface. This guide will walk you through using Codegen to automate this migration, handling query syntax, session usage, and ORM patterns.

<Info>
You can find the complete example code in our [examples repository](https://github.com/codegen-sh/codegen-sdk/tree/93f0d4cd7740e3e01ee7ecfd69fd3259b8ebf783/codegen-examples/examples/sqlalchemy_1.6_to_2.0).
You can find the complete example code in our [examples repository](https://github.com/codegen-sh/codegen-sdk/tree/develop/codegen-examples/examples/sqlalchemy_1.6_to_2.0).
</Info>

## Overview
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/training-data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ iconType: "solid"

This guide demonstrates how to use Codegen to generate high-quality training data for large language models (LLMs) by extracting function implementations along with their dependencies and usages. This approach is similar to [word2vec](https://www.tensorflow.org/text/tutorials/word2vec) or [node2vec](https://snap.stanford.edu/node2vec/) - given the context of a function, learn to predict the function's implementation.

<Info>View the full code in our [examples repository](https://github.com/codegen-sh/codegen-sdk/tree/93f0d4cd7740e3e01ee7ecfd69fd3259b8ebf783/codegen-examples/examples/generate_training_data)</Info>
<Info>View the full code in our [examples repository](https://github.com/codegen-sh/codegen-sdk/tree/develop/codegen-examples/examples/generate_training_data)</Info>

<Tip>This example works with both Python and Typescript repositories without modification</Tip>

Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/unittest-to-pytest.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ iconType: "solid"
Migrating from [unittest](https://docs.python.org/3/library/unittest.html) to [pytest](https://docs.pytest.org/) involves converting test classes and assertions to pytest's more modern and concise style. This guide will walk you through using Codegen to automate this migration.

<Info>
You can find the complete example code in our [examples repository](https://github.com/codegen-sh/codegen-sdk/tree/93f0d4cd7740e3e01ee7ecfd69fd3259b8ebf783/codegen-examples/examples/unittest_to_pytest).
You can find the complete example code in our [examples repository](https://github.com/codegen-sh/codegen-sdk/tree/develop/codegen-examples/examples/unittest_to_pytest).
</Info>

## Overview
Expand Down