|
1 | 1 | --- |
2 | 2 | title:Quickstart |
3 | 3 | sidebar_label:Quickstart |
4 | | -description:Get started withCodeRabbit inless than 15 minutes |
| 4 | +description:SeeCodeRabbit inaction, using a live GitHub repository. |
5 | 5 | sidebar_position:1 |
6 | 6 | --- |
7 | 7 |
|
@@ -56,21 +56,21 @@ Use your usual Git workflow to perform the following steps in the `coderabbit-te |
56 | 56 |
|
57 | 57 | 1. Create a branch named`add-utils`. |
58 | 58 |
|
59 | | -1. In that new`add-utils` branch, create a new file called`simple_utils.py`, with thefollowing content: |
| 59 | +1. In that new`add-utils` branch, create a new file called`simple_utils.py`, with thefollowingg content: |
60 | 60 |
|
61 | | -``` |
62 | | -# simple_utils.py - A tiny utility library |
| 61 | +```python |
| 62 | +# simple_utils.py - A tiny utility library |
63 | 63 |
|
64 | | -def reverse_string(text): |
65 | | -"""Reverses the characters in a string.""" |
66 | | -return text[::-1] |
| 64 | +defreverse_string(text): |
| 65 | +"""Reverses the characters in a string.""" |
| 66 | +return text[::-1] |
67 | 67 |
|
68 | | -def count_words(sentence): |
69 | | -return len(sentence.split()) |
| 68 | +defcount_words(sentence): |
| 69 | +returnlen(sentence.split()) |
70 | 70 |
|
71 | | -def celsius_to_fahrenheit(celsius): |
72 | | -return (celsius * 9/5) + 32 |
73 | | -``` |
| 71 | +defcelsius_to_fahrenheit(celsius): |
| 72 | +return (celsius*9/5)+32 |
| 73 | +``` |
74 | 74 |
|
75 | 75 | 1. Commit the addedfile to the`add-utils` branch. Useany text you wantfor the commit message. |
76 | 76 |
|
@@ -132,8 +132,8 @@ You are now ready to add CodeRabbit to other repositories that you own, and let |
132 | 132 |
|
133 | 133 | ## What's next |
134 | 134 |
|
135 | | --[Integrate CodeRabbit](http://localhost:3000/platforms/) with your repositories on GitHub, GitLab, Azure DevOps, or Bitbucket. |
136 | | --[Configure CodeRabbit](/getting-started/configure-coderabbit) beyond its default settings. |
137 | | --[Add custom review instructions](/guides/review-instructions). |
138 | | --[Get support for CodeRabbit](/getting-started/support). |
139 | | --[Learn more about how CodeRabbit works](/overview/why-coderabbit). |
| 135 | +* [Integrate CodeRabbit](http://localhost:3000/platforms/)with your repositories on GitHub, GitLab, Azure DevOps,or Bitbucket. |
| 136 | +* [Configure CodeRabbit](/getting-started/configure-coderabbit) beyond its default settings. |
| 137 | +* [Add custom review instructions](/guides/review-instructions). |
| 138 | +* [Get supportfor CodeRabbit](/getting-started/support). |
| 139 | +* [Learn more about how CodeRabbit works](/overview/why-coderabbit). |