Skip to content

Add new configuration guides and reference material. #405

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

jmacdotorg
Copy link
Contributor

@jmacdotorg jmacdotorg commented Jun 19, 2025

This adds a bunch of pages, all about configuration.

On staging:

A few notes:

  • The initial-config guide is the centerpiece here in some ways, responding to a desire to have a little more guidance about navigating CodeRabbit's sea of config options
  • The new reference page was generated from our schema file. Several of the descriptions are expanded and rewritten (especially if the new initial-config guide links to them), and several are just copied over verbatim for now. We should rewrite and expand all of these in future iterations of this page.
  • This work doesn't update the docs about CodeRabbit.yaml at all. Fast-follow work includes tidying up that page and adding more reference material just about that file.

@jmacdotorg jmacdotorg requested a review from a team as a code owner June 19, 2025 18:28
Copy link
Contributor

coderabbitai bot commented Jun 19, 2025

"""

Walkthrough

Several new documentation guides were added to provide comprehensive coverage of CodeRabbit configuration at the organization and repository levels, including an initial configuration guide and detailed instructions for setting preferences. The documentation sidebar was updated to include these new guides and a new reference entry. No changes were made to code or exported entities.

Changes

File(s) Change Summary
docs/guides/configuration-overview.md,
docs/guides/initial-configuration.md,
docs/guides/organization-settings.md,
docs/guides/repository-settings.md
Added new documentation guides detailing configuration options and setup at organization and repository levels.
sidebars.ts Updated sidebar to include new configuration guides and a reference entry for configuration.

Poem

In the warren of docs, new guides now appear,
For teams and for orgs, the setup is clear.
The sidebar’s refreshed, with knowledge in tow,
Configuration paths, now easy to know.
A rabbit’s delight—let’s hop in and read,
For CodeRabbit’s wisdom is all that you need!
🐇📚✨
"""


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 228e9f5 and d6f26ff.

⛔ Files ignored due to path filters (1)
  • static/img/reference/path-instructions.png is excluded by !**/*.png, !**/*.png
📒 Files selected for processing (5)
  • docs/guides/configuration-overview.md (1 hunks)
  • docs/guides/initial-configuration.md (1 hunks)
  • docs/guides/organization-settings.md (1 hunks)
  • docs/guides/repository-settings.md (1 hunks)
  • sidebars.ts (2 hunks)
✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate Unit Tests
  • Create PR with Unit Tests
  • Post Copyable Unit Tests in Comment
  • Commit Unit Tests in branch config

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai auto-generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@jmacdotorg jmacdotorg marked this pull request as draft June 19, 2025 18:28
Copy link

cloudflare-workers-and-pages bot commented Jun 19, 2025

Deploying coderabbit-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: d6f26ff
Status: ✅  Deploy successful!
Preview URL: https://513347f9.coderabbit-docs.pages.dev
Branch Preview URL: https://config.coderabbit-docs.pages.dev

View logs

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (19)
docs/guides/organization-settings.md (2)

2-2: Fix typo in title frontmatter
The word “orgnaization” is misspelled.
Apply this diff:

-title: Set your orgnaization preferences
+title: Set your organization preferences

24-26: Use sequential list numbering
All steps are marked “1.” which works but can be confusing. Consider numbering them 1., 2., 3. for clarity.

docs/guides/repository-settings.md (1)

13-14: Fix spelling in step description
The word “repostory” is misspelled. Also, consider using 1. and 2. for list items.

-1. Add a `coderabbit.yaml` file to your repostory.
+2. Add a `coderabbit.yaml` file to your repository.
docs/guides/configuration-overview.md (3)

20-21: Fix typo in “inlcude”
Change “inlcude” to “include”:


24-24: Fix spelling of “organiation’s”
Correct to “organization’s”:


34-34: Add missing space in “CodeRabbitweb”
Insert a space between “CodeRabbit” and “web”:

docs/guides/initial-configuration.md (13)

8-8: Fix typo in “conifguration”
Correct the spelling of “conifguration”:


15-15: Remove duplicated “Tthe”
Change “Tthe” to “The”:


47-47: Fix typo in “integreated”
Correct to “integrated”:


53-53: Remove duplicate word and fix spellings
Eliminate repeated “these” and correct “prefrences”/“reveiws”:


60-60: Improve phrasing and fix typos
Replace “deliver perform faster” and “opt of” with correct wording:


71-71: Fix typo in “repositries”
Correct to “repositories”:


73-73: Add missing article for clarity
Insert “a” before “strict data retention policy”:


80-80: Correct spelling of “defualt” and “subsquent”


87-87: Apply same cache typo fixes in second instance


108-108: Remove duplicated “and”


119-119: Consider more concise phrasing
Remove “of” for brevity:


123-123: Specify fenced code block language
Add a language tag for syntax highlighting, e.g., yaml or json:

-````
+```yaml

127-131: Replace hard tabs with spaces
Convert indentation inside the fenced block to spaces to avoid hard tabs.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 228e9f5 and 2617e73.

⛔ Files ignored due to path filters (1)
  • static/img/reference/path-instructions.png is excluded by !**/*.png, !**/*.png
📒 Files selected for processing (5)
  • docs/guides/configuration-overview.md (1 hunks)
  • docs/guides/initial-configuration.md (1 hunks)
  • docs/guides/organization-settings.md (1 hunks)
  • docs/guides/repository-settings.md (1 hunks)
  • sidebars.ts (2 hunks)
🧰 Additional context used
🪛 LanguageTool
docs/guides/initial-configuration.md

[style] ~13-~13: Consider a more concise word here.
Context: ... configuration options that you can set in order to tune CodeRabbit code review behavior fo...

(IN_ORDER_TO_PREMIUM)


[duplication] ~53-~53: Possible typo: you repeated a word.
Context: ...e-base#learnings). CodeRabbit remembers these these prefrences, and applies them to subsequ...

(ENGLISH_WORD_REPEAT_RULE)


[style] ~60-~60: Consider a more concise word here.
Context: ...res information about your repositories in order to deliver perform faster and more tailore...

(IN_ORDER_TO_PREMIUM)


[uncategorized] ~60-~60: “of” seems less likely than “off” (as in: go/turn off, off the coast).
Context: ... more tailored reviews, but you can opt of these features if your organization has...

(AI_HYDRA_LEO_CP_OF_OFF)


[uncategorized] ~73-~73: Possible missing article found.
Context: ...ver, if your use of CodeRabbit requires strict data retention policy, then you can tur...

(AI_HYDRA_LEO_MISSING_A)


[style] ~80-~80: Consider a more concise word here.
Context: ...ary cache of data about your repository in order to make subsquent code reviews faster. If ...

(IN_ORDER_TO_PREMIUM)


[style] ~80-~80: Consider using a different verb to strengthen your wording.
Context: ... data about your repository in order to make subsquent code reviews faster. If this conflicts with your organizati...

(MAKE_XXX_FASTER)


[style] ~87-~87: Consider a more concise word here.
Context: ...ary cache of data about your repository in order to make subsquent code reviews faster. If ...

(IN_ORDER_TO_PREMIUM)


[style] ~87-~87: Consider using a different verb to strengthen your wording.
Context: ... data about your repository in order to make subsquent code reviews faster. If this conflicts with your organizati...

(MAKE_XXX_FASTER)


[misspelling] ~94-~94: This word is normally spelled as one.
Context: ...ites thorough code reviews with several sub-sections. If you'd rather have CodeRabbit genera...

(EN_COMPOUNDS_SUB_SECTIONS)


[typographical] ~94-~94: Consider adding a comma.
Context: ...ave CodeRabbit generated shorter reviews then you can change some of the following se...

(IF_THEN_COMMA)


[duplication] ~108-~108: Possible typo: you repeated a word.
Context: ...irect CodeRabbit to treat various files and and locations in your repository differentl...

(ENGLISH_WORD_REPEAT_RULE)


[style] ~119-~119: Consider removing “of” to be more concise
Context: ...ame review instructions and contexts to all of the pull requests that it generates, regard...

(ALL_OF_THE)

🪛 markdownlint-cli2 (0.17.2)
docs/guides/initial-configuration.md

123-123: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


127-127: Hard tabs
Column: 1

(MD010, no-hard-tabs)


129-129: Hard tabs
Column: 8

(MD010, no-hard-tabs)


130-130: Hard tabs
Column: 9

(MD010, no-hard-tabs)


131-131: Hard tabs
Column: 8

(MD010, no-hard-tabs)

⏰ Context from checks skipped due to timeout of 90000ms (2)
  • GitHub Check: test
  • GitHub Check: Cloudflare Pages
🔇 Additional comments (5)
sidebars.ts (2)

82-86: Approve new configuration guide entries
The new sidebar items for configuration (configuration-overview, organization-settings, repository-settings, initial-configuration) are correctly inserted under “Configure CodeRabbit.”


168-169: Approve new reference entry
The reference/configuration link is properly added after reference/review-commands in the “Reference” category.

docs/guides/repository-settings.md (1)

1-5: Frontmatter looks correct
The YAML header defines title and description appropriately.

docs/guides/configuration-overview.md (1)

1-5: Frontmatter and sidebar label are correct
No issues with the YAML header or sidebar_label.

docs/guides/initial-configuration.md (1)

1-4: Frontmatter is valid
YAML header correctly defines title and description.

@jmacdotorg
Copy link
Contributor Author

@coderabbitai summary

Copy link
Contributor

coderabbitai bot commented Jun 19, 2025

✅ Actions performed

Summary regeneration triggered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant