diff --git a/docs/CONTRIBUTING.mdx b/docs/CONTRIBUTING.mdx index 193ca8795..6a01562e2 100644 --- a/docs/CONTRIBUTING.mdx +++ b/docs/CONTRIBUTING.mdx @@ -298,6 +298,35 @@ const example = "Hello, Continue!"; +### Linking Your PR to Issues + + + +**Important**: When your PR addresses a specific issue, make sure to link it using GitHub keywords. + + + +To automatically link your PR to an issue and close it when the PR is merged, use one of these keywords in your PR description: + +- `closes #issue_number` +- `fixes #issue_number` +- `resolves #issue_number` + +**Example PR description:** +```markdown +Improved the installation guide with clearer steps for Windows users. + +Closes #1234 +``` + +This helps us track which issues are being worked on and automatically closes them when your PR is merged. + + + +Learn more about linking PRs to issues in the [GitHub documentation](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests). + + + ## 💡 Tips for Success - **Use the Continue agent**: It knows our documentation standards and will save you time