Skip to content

[rp2] Rename rp2040 platform page to rp2 and add redirects#6830

Open
jesserockz wants to merge 3 commits into
nextfrom
jesserockz-2026-379
Open

[rp2] Rename rp2040 platform page to rp2 and add redirects#6830
jesserockz wants to merge 3 commits into
nextfrom
jesserockz-2026-379

Conversation

@jesserockz

Copy link
Copy Markdown
Member

Description

Documents the platform rename from rp2040 to rp2 in esphome/esphome#17145. Moves the platform page to /components/rp2/, adds redirects from the old /components/rp2040/ and legacy .html URLs, updates the canonical YAML examples to the rp2: key, and repoints internal links to the new page. A note documents that the legacy rp2040: key keeps working as a deprecated alias until 2027.7.0.

Related issue (if applicable): N/A

Pull request in esphome with YAML changes (if applicable):

Checklist

  • I am merging into next because this is new documentation that has a matching pull-request in esphome as linked above.
    or

  • I am merging into current because this is a fix, change and/or adjustment in the current documentation and is not for a new component or feature.

  • Link added in /src/content/docs/components/index.mdx when creating new documents for new components or cookbook.

Mirror the esphome rp2040 -> rp2 platform rename: move the platform page
to /components/rp2/, add netlify redirects for the old URLs, and repoint
internal links to the new page.
Copilot AI review requested due to automatic review settings June 23, 2026 04:09
@netlify

netlify Bot commented Jun 23, 2026

Copy link
Copy Markdown

Deploy Preview for esphome ready!

Name Link
🔨 Latest commit 7055448
🔍 Latest deploy log https://app.netlify.com/projects/esphome/deploys/6a3af6ac6b326d0008964011
😎 Deploy Preview https://deploy-preview-6830--esphome.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI 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.

Pull request overview

Updates ESPHome docs to reflect the platform rename from rp2040 to rp2, including moving/retitling the platform page, updating example YAML keys and internal links, and adding Netlify redirects for legacy URLs.

Changes:

  • Updated the RP2 platform documentation page content and YAML examples to use the rp2: key and explain the rp2040: alias deprecation timeline.
  • Repointed internal documentation links (component index + related component pages) to /components/rp2/.
  • Added Netlify redirects for legacy /components/rp2040/ and /components/rp2040.html URLs.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/content/docs/components/rp2040_ble.mdx Updates “See Also” link to point to the renamed RP2 platform page.
src/content/docs/components/rp2.mdx Revises page title/description, adds rename/deprecation note, updates YAML examples and reference links to rp2.
src/content/docs/components/index.mdx Updates the supported microcontrollers table entry to “RP2” and links to /components/rp2/.
src/content/docs/changelog/2024.6.0.mdx Updates a changelog link destination from the old RP2040 page to the new RP2 page.
netlify.toml Adds redirects from old RP2040 documentation URLs to the RP2 page.

Comment thread src/content/docs/changelog/2024.6.0.mdx
Comment thread netlify.toml
Add a /components/rp2040 (no trailing slash) redirect and change the
2024.6.0 changelog link text to rp2 so it matches the rp2 destination.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants