Skip to content

feat: add Coderabbit config for community documentation - #3552

Draft
bandantonio wants to merge 1 commit into
asyncapi:masterfrom
bandantonio:feat/configure-coderabbit-for-community-docs
Draft

feat: add Coderabbit config for community documentation#3552
bandantonio wants to merge 1 commit into
asyncapi:masterfrom
bandantonio:feat/configure-coderabbit-for-community-docs

Conversation

@bandantonio

@bandantonio bandantonio commented May 17, 2026

Copy link
Copy Markdown
Collaborator

Description

This PR adds path instructions to CodeRabbit configuration to make AI assistant aware of the community documentation and help fixing the rest of the inconsistencies that appeared after the global refactoring of the community documentation (#1833)

Related issue(s)

Summary by CodeRabbit

  • Chores
    • Established documentation review configuration to maintain consistency and quality standards across Community documentation.

Review Change Stack

@bandantonio bandantonio self-assigned this May 17, 2026
Copilot AI review requested due to automatic review settings May 17, 2026 13:33
@bandantonio
bandantonio marked this pull request as draft May 17, 2026 13:33
@coderabbitai

coderabbitai Bot commented May 17, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 15a4153b-8c91-4021-9733-a4eab1cbcaaf

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

This pull request introduces a new .coderabbit.yaml configuration file that establishes CodeRabbit's review guidelines and documentation standards. The configuration specifies English language settings, disables early access, and defines detailed path instructions for all docs/** content paths.

Changes

CodeRabbit Documentation Guidelines Configuration

Layer / File(s) Summary
CodeRabbit configuration and docs path guidelines
.coderabbit.yaml
Configuration file defining language settings, early-access behavior, and review path instructions that establish documentation organization standards including _section.md/index.md pairing requirements, sidebar weight metadata consistency, content bucket naming conventions, nesting constraints, and rendered website URL link formatting expectations.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

A config file hops in with grace,
Setting standards for this doc-filled place,
Weights and sections, links align,
Community docs now follow the line! 🐰✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely summarizes the main change: adding CodeRabbit configuration for community documentation.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (1)
.coderabbit.yaml (1)

18-18: ⚡ Quick win

Resolve or remove TODO from active review instructions.

Line 18 embeds an unfinished rule in production guidance. Either convert it into a concrete rule now or remove it until finalized to avoid ambiguous reviewer behavior.

If you want, I can draft a concrete README-link policy line that fits the style of the existing bullets.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.coderabbit.yaml at line 18, Replace the dangling TODO "TODO: add a rule on
how links to/from README.md should be handled as they are not rendered on the
website." in the active review guidance with a concrete rule or remove it
entirely; specifically update the .coderabbit configuration entry that contains
that TODO by either (a) adding a one-line policy such as "Links to/from
README.md should be maintained in the repo but not relied upon for site
navigation; include cross-references in docs/ for rendered site links" or (b)
deleting the TODO line so no unfinished instruction appears in production
guidance.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.coderabbit.yaml:
- Line 13: The example list for secondary bucket prefixes is malformed—fix the
punctuation around the examples in the sentence that begins "The numeric prefix
of secondary content buckets..." so each example uses consistent backticks and
commas (e.g., replace the incorrect fragment `011-', '012-'` with `011-`,
`012-`), ensuring examples match the primary examples (`000-`, `010-`, `020-`)
and use consistent quoting/backticks throughout the rule.

---

Nitpick comments:
In @.coderabbit.yaml:
- Line 18: Replace the dangling TODO "TODO: add a rule on how links to/from
README.md should be handled as they are not rendered on the website." in the
active review guidance with a concrete rule or remove it entirely; specifically
update the .coderabbit configuration entry that contains that TODO by either (a)
adding a one-line policy such as "Links to/from README.md should be maintained
in the repo but not relied upon for site navigation; include cross-references in
docs/ for rendered site links" or (b) deleting the TODO line so no unfinished
instruction appears in production guidance.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 4378da16-5eec-41ce-8162-8fa7bb6ec0d1

📥 Commits

Reviewing files that changed from the base of the PR and between c7f4c67 and ee3f8fd.

📒 Files selected for processing (1)
  • .coderabbit.yaml

Comment thread .coderabbit.yaml Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds a CodeRabbit configuration file with path-specific review instructions intended to guide AI-assisted reviews/edits of the repo’s community documentation after the docs reorganization (#1833).

Changes:

  • Introduces .coderabbit.yaml with English locale and reviews.path_instructions targeting docs/**.
  • Documents rules for section metadata (_section.md/index.md), folder naming/weights, and link format expectations for community docs.
Comments suppressed due to low confidence (1)

.coderabbit.yaml:14

  • The guidance around secondary content buckets conflicts with the next bullet: line 13 describes secondary buckets as “subfolders within primary content buckets”, but line 14 states the website doesn't support nested folders beyond the first level under docs. Please clarify whether “secondary” buckets are meant to be sibling folders (e.g., 011-* next to 010-*) or actual nested subfolders, and align these bullets accordingly.
        - The numeric prefix of primary content buckets is assigned in increments of 10 (e.g., `000-`, `010-`, `020-`, etc.). The numeric prefix of secondary content buckets (subfolders within primary content buckets) is assigned in increments of 1 to the content bucket they belong to (e.g., `011-', '012-', or '021-', '022-', etc.).
        - No nested folders exist beyond the content bucket folders. The current website's implementation doesn't support nested folders, so all content must be organized within the first level of folders under `docs`.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .coderabbit.yaml Outdated
Comment thread .coderabbit.yaml Outdated
Comment thread .coderabbit.yaml Outdated
@bandantonio
bandantonio force-pushed the feat/configure-coderabbit-for-community-docs branch from ee3f8fd to 3b3a0ae Compare May 17, 2026 13:59
@sonarqubecloud

Copy link
Copy Markdown

@bandantonio
bandantonio force-pushed the feat/configure-coderabbit-for-community-docs branch from 3b3a0ae to ca2583b Compare July 9, 2026 17:51
@sonarqubecloud

sonarqubecloud Bot commented Jul 9, 2026

Copy link
Copy Markdown

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.

2 participants