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
* 📝 Release Docstrings
* 📝 Reword some sentences in the supported software forges and languages
* 📝 Add Azure DevOps pipeline failure detection announcement to changelog
Copy file name to clipboardExpand all lines: docs/changelog.md
+19-1
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,24 @@ description: The latest updates and changes to CodeRabbit.
5
5
sidebar_position: 13
6
6
---
7
7
8
+
## February 25, 2025
9
+
10
+
### Docstrings
11
+
12
+
```mdx-code-block
13
+
import ProPlanNotice from '@site/src/components/ProPlanNotice.mdx';
14
+
15
+
<ProPlanNotice />
16
+
```
17
+
18
+
We're excited to announce the launch of the Docstrings feature! This functionality allows developers to generate docstrings on a pull request. By commenting `@coderabbitai generate docstrings` on any pull request, you can automatically generate docstrings for functions in the code changes.
19
+
20
+
The list of supported languages and software forges is available in [the documentation](/finishing-touches/docstrings).
21
+
22
+
### Azure DevOps Pipeline Failure Detection
23
+
24
+
We're excited to announce that our pipeline error detection capabilities now extend to Azure DevOps! Just like with GitHub Actions, GitLab CI/CD, and CircleCI, you can now automatically detect and fix pipeline failures in your Azure DevOps pipelines.
25
+
8
26
## February 4, 2025
9
27
10
28
### Bitbucket Cloud Support & CircleCI Pipeline Failure Detection
@@ -81,7 +99,7 @@ With this update, you can:
81
99
82
100
## December 12, 2024
83
101
84
-
### Docstrings(Beta)
102
+
### Docstrings(Beta)
85
103
86
104
We have launched a new functionality as part of our finishing touches initiative to allow developers to generate docstrings on a pull request. This feature lets you generate docstrings by commenting `@coderabbitai generate docstrings` on any pull request. This works for both new and existing documentation. See [our documentation](https://docs.coderabbit.ai/finishing-touches/docstrings) for details.
Copy file name to clipboardExpand all lines: docs/finishing-touches/docstrings.md
+11-20
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: Docstrings generation with CodeRabbit
3
-
sidebar_label: Docstrings (Beta)
3
+
sidebar_label: Docstrings
4
4
description: Automated docstrings pull requests with CodeRabbit
5
5
---
6
6
@@ -14,12 +14,6 @@ import ProPlanNotice from '@site/src/components/ProPlanNotice.mdx';
14
14
15
15
Docstrings generation is part of the [finishing touches](/future-development#finishing-touches).
16
16
17
-
:::info
18
-
19
-
This feature is in [beta](/early-access#beta).
20
-
21
-
:::
22
-
23
17
## Usage
24
18
25
19
Once you are done with your pull request and its reviews, you may want to perform finishing touches to your code, such as adding in-code documentation. You can request CodeRabbit to generate docstrings by typing `@coderabbitai generate docstrings` in a comment under that pull request.
@@ -37,27 +31,28 @@ Here's an example of what a pull request may look like:
37
31
38
32
CodeRabbit cannot perform further modifications to opened pull requests. From there, it's your turn to checkout the branch and improve it to satisfaction. We believe that this workflow provides a significant headstart to documenting code.
39
33
40
-
We are testing this workflow internally to adjust the prompts, add more supported software forges, add more supported languages and craft an excellent user experience. However, you can use this preview and enjoy a sneak peek at the future of CodeRabbit. Additionally, you can provide feedback about this feature on [Discord](https://discord.com/channels/1134356397673414807/1317286905557287022).
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).
41
35
42
36
## Supported software forges
43
37
44
-
The checked software forges are supported:
38
+
These software forges are supported:
45
39
46
-
-[ ] Azure DevOps
47
-
-[ ] Bitbucket
40
+
-[x] Azure DevOps
41
+
-[ ] Bitbucket Cloud
42
+
-[ ] Bitbucket Data Center
48
43
-[x] GitHub
49
-
-[] GitLab
44
+
-[x] GitLab
50
45
51
-
The presence of an unsupported software forge in this list does not constitute a commitment to support it in the future. Remember that the docstrings feature is in [beta](/early-access#beta).
46
+
While Bitbucket is not officially supported, docstrings can still be generated. However, they will be posted in a comment under the pull request. Full support for Bitbucket is planned.
52
47
53
48
## Supported languages
54
49
55
-
The checked languages are supported:
50
+
These languages are supported:
56
51
57
52
-[x] Bash
58
53
-[x] C
59
-
-[x] C++
60
54
-[x] C#
55
+
-[x] C++
61
56
-[x] Elixir
62
57
-[x] Go
63
58
-[ ] Haskell
@@ -74,8 +69,4 @@ The checked languages are supported:
74
69
-[x] Swift
75
70
-[x] TypeScript
76
71
77
-
The presence of an unsupported language in this list does not constitute a commitment to support it in the future. Remember that the docstrings feature is in [beta](/early-access#beta).
78
-
79
-
:::note
80
-
In the case of JavaScript and TypeScript and the React versions of both, there are tons of ways to declare functions. At the moment, we only support the keyword `function` at the top level.
81
-
:::
72
+
CodeRabbit uses `ast-grep` to parse the code. If you want a new language to be supported, please look into [Add New Language to ast-grep](https://ast-grep.github.io/contributing/add-lang.html#add-new-language-to-ast-grep) first.
Copy file name to clipboardExpand all lines: docs/overview/why-coderabbit.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ Features such as:
41
41
- CodeRabbit Commands
42
42
- PR summary on the fly
43
43
- Visual diagrams
44
-
- Docstrings (Beta)
44
+
- Docstrings generation
45
45
- Custom review rules
46
46
47
47
> All these features improve the developer experience by reducing review time, maintaining consistency, and sharing knowledge effectively across teams.
0 commit comments