Skip to content

Add integration page: add step to add codeowner#3216

Merged
silamon merged 1 commit into
masterfrom
add-integration-add-codeowner
Jul 10, 2026
Merged

Add integration page: add step to add codeowner#3216
silamon merged 1 commit into
masterfrom
add-integration-add-codeowner

Conversation

@c0ffeeca7

@c0ffeeca7 c0ffeeca7 commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Proposed change

Docs: adding an integration page:

  • add step to add codeowner
  • add substep to add brand PR link to docs PR template

Type of change

  • Document existing features within Home Assistant
  • Document new or changing features for which there is an existing pull request elsewhere
  • Spelling or grammatical corrections, or rewording for improved clarity
  • Editing or restructuring documentation guidelines
  • Changes to the backend of this documentation
  • Remove stale or deprecated documentation

Checklist

  • I have read and followed the documentation guidelines.
  • I have verified that my changes render correctly in the documentation.

Additional information

  • This PR fixes or closes issue: fixes #
  • Link to relevant existing code or pull request:

Summary by CodeRabbit

  • Documentation
    • Updated the integration page creation checklist with an additional PR-template requirement to include a brands PR link.
    • Added a step to ensure the integration and code owners are added to the CODEOWNERS file.
    • Renumbered the checklist to keep the remaining steps in order.

@coderabbitai

coderabbitai Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

The integration page creation checklist in docs/documenting/create-page.md gains two new steps: one to include a link to the brands PR in the PR template, and one to add the integration and codeowners to the CODEOWNERS file. Subsequent checklist items are renumbered accordingly.

Changes

Integration Page Creation Checklist

Layer / File(s) Summary
New checklist steps and renumbering
docs/documenting/create-page.md
Adds a step to link the brands PR in the PR template and a step to add the integration and codeowners to CODEOWNERS; renumbers the remaining checklist items.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description check ✅ Passed The description follows the template and includes the proposed change, type, checklist, and additional information sections.
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.
Title check ✅ Passed The title is clearly related to the main documentation change about adding a CODEOWNERS step for integration pages.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch add-integration-add-codeowner

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
Contributor

Choose a reason for hiding this comment

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

🧹 Nitpick comments (2)
docs/documenting/create-page.md (2)

19-19: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Clarify what to add to CODEOWNERS.

The instruction "Add the integration and codeowners to the codeowners file" is ambiguous. Based on the CODEOWNERS format (path-pattern @owners``), contributors need to add:

  1. The documentation path for the integration
  2. The GitHub usernames/teams as codeowners

Consider making this explicit:

-6. Add the integration and codeowners to the [codeowners file](https://github.com/home-assistant/home-assistant.io/blob/next/CODEOWNERS).
+6. Add the integration's documentation path and codeowners to the [CODEOWNERS](https://github.com/home-assistant/home-assistant.io/blob/next/CODEOWNERS) file (e.g., `docs/integration-name `@username``).
🤖 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 `@docs/documenting/create-page.md` at line 19, The CODEOWNERS step is ambiguous
and should explicitly say to add both the integration documentation path and the
GitHub owner entries. Update the instruction near the create-page guidance so it
references the relevant integration path pattern and the corresponding usernames
or teams, using the CODEOWNERS format in the codeowners file. Keep the wording
specific enough that contributors know exactly what path and who to assign.

18-18: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Clarify "brands PR" wording.

"that brands PR" is ambiguous — it could read as "that brand's PR" (possessive singular) or "that brands' PR" (possessive plural). Since this refers to the PR in the brands repository that added the brand assets, consider rephrasing for clarity:

-   - In the PR template, add a link to that brands PR.
+   - In the PR template, add a link to the corresponding brands PR.

Or if referring to a specific PR from step above: "add a link to that brand's PR" or "add a link to that PR in the brands repository."

🤖 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 `@docs/documenting/create-page.md` at line 18, The wording in the PR template
is ambiguous because “that brands PR” can be read multiple ways; update the
sentence in the docs content to clearly refer to the intended PR, using a
precise phrase in the create-page guidance such as “that brand’s PR” or “the PR
in the brands repository” so readers can identify the correct link to add.
🤖 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.

Nitpick comments:
In `@docs/documenting/create-page.md`:
- Line 19: The CODEOWNERS step is ambiguous and should explicitly say to add
both the integration documentation path and the GitHub owner entries. Update the
instruction near the create-page guidance so it references the relevant
integration path pattern and the corresponding usernames or teams, using the
CODEOWNERS format in the codeowners file. Keep the wording specific enough that
contributors know exactly what path and who to assign.
- Line 18: The wording in the PR template is ambiguous because “that brands PR”
can be read multiple ways; update the sentence in the docs content to clearly
refer to the intended PR, using a precise phrase in the create-page guidance
such as “that brand’s PR” or “the PR in the brands repository” so readers can
identify the correct link to add.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: ba3f4422-5b1d-4b3b-bfdd-486bfcaa1051

📥 Commits

Reviewing files that changed from the base of the PR and between 7c154e2 and 979fb93.

📒 Files selected for processing (1)
  • docs/documenting/create-page.md

@c0ffeeca7 c0ffeeca7 changed the title Add integration page: add codeowner Add integration page: add step to add codeowner Jun 30, 2026
@silamon silamon merged commit f337539 into master Jul 10, 2026
5 checks passed
@silamon silamon deleted the add-integration-add-codeowner branch July 10, 2026 21:28
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