Documentation Index
Fetch the complete documentation index at: https://docs.coderabbit.ai/llms.txt
Use this file to discover all available pages before exploring further.
Request code improvements
One of CodeRabbit’s powerful features is its ability to not just identify issues, but also generate the code changes needed to fix them. Instead of manually implementing the suggestions from the review, you can ask CodeRabbit to do it for you. In this step, you’ll use a CodeRabbit command to automatically generate documentation improvements for your Python code.Generate docstrings
Post the following as a new comment on your pull request:What CodeRabbit does next
After a few moments, CodeRabbit automatically performs the following actions:- Creates a new branch - CodeRabbit generates a new branch based on your
add-utilsbranch - Commits the changes - CodeRabbit adds properly formatted docstrings to your
simple_utils.pyfile - Opens a pull request - CodeRabbit creates a new pull request from the new branch back into
add-utils
Review the generated changes
Once CodeRabbit creates the new pull request with the docstrings:- Navigate to the new pull request
- Review the generated documentation
- Check that the docstrings accurately describe each function
- Merge the changes if they meet your standards
Other available commands
CodeRabbit supports many other commands to help you improve your code. For example:@coderabbitai generate tests- Create unit tests for your code@coderabbitai fix- Apply suggested fixes from the review@coderabbitai help- See all available commands