You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -49,7 +69,7 @@ We've expanded our static analysis capabilities with two new tools:
49
69
-**OXC**: A high-performance JavaScript/TypeScript linter written in Rust.
50
70
-**Prisma Lint**: A dedicated linter for Prisma schema files to help enforce consistent conventions and best practices.
51
71
52
-
Both tools can be configured through their respective config files or through CodeRabbit's settings page. See our [tools documentation](https://docs.coderabbit.ai/tools/tools) for more details.
72
+
Both tools can be configured through their respective config files or through CodeRabbit's settings page. See our [tools documentation](https://docs.coderabbit.ai/tools/) for more details.
Copy file name to clipboardExpand all lines: docs/finishing-touches/docstrings.md
+14
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,20 @@ CodeRabbit cannot perform further modifications to opened pull requests. From th
33
33
34
34
This feature has been rigorously tested and is now available for all Pro plan users. Additionally, you can provide feedback about this feature on [Discord](https://discord.com/channels/1134356397673414807/1317286905557287022).
35
35
36
+
## Path Instructions
37
+
38
+
You can customize the generated docstrings by providing instructions based on file paths in your `.coderabbit.yaml`. The `path` is a [minimatch](https://github.com/isaacs/minimatch) pattern.
39
+
40
+
```yaml
41
+
code_generation:
42
+
docstrings:
43
+
path_instructions:
44
+
- path: "**/*.ts"
45
+
instructions: |
46
+
End all docstrings with a notice that says "Auto-generated by CodeRabbit.".
47
+
Do not omit the closing tags; the docstring must be valid.
Copy file name to clipboardExpand all lines: docs/guides/agent_chat.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -37,11 +37,11 @@ CodeRabbit Chat integrates real-time web search capabilities, enabling it to fet
37
37
38
38
Set `enabled` to false within `web_search` within `knowledge_base` within the config in order to turn this off.
39
39
40
-
### Code Definition Integration
40
+
### Code Graph Analysis Integration
41
41
42
-
CodeRabbit Chat is capable of taking definitions of code symbols from the symbol graph that CodeRabbit generates from your codebase. The CodeRabbit Chat response will indicate in its responses if it has found relevant symbols and snippets surrounding symbols in your codebase.
42
+
CodeRabbit Chat is capable of analyzing definitions of code symbols from the symbol graph it generates from your codebase. CodeRabbit can use these code definitions to enhance context when providing a chat response and review comments. CodeRabbit Chat will indicate in its response if it has found relevant symbols and snippets surrounding those symbols in your codebase.
43
43
44
-
Set the environment variable `ENABLE_CODE_GRAPH` in self-hosted CodeRabbit instances to turn this feature off.
44
+
Set the environment variable `ENABLE_CODE_GRAPH`to false in self-hosted CodeRabbit instances to turn this feature off in self-hosted instances.
0 commit comments