Skip to content

Document that boards go to devices.esphome.io first and add no new external domains - #3025

Merged
J. Nick Koston (bdraco) merged 3 commits into
mainfrom
no-new-external-urls
Nov 5, 2026
Merged

J. Nick Koston (bdraco) merged 3 commits into
mainfrom
no-new-external-urls

Conversation

@bdraco

@bdraco J. Nick Koston (bdraco) commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

What does this implement/fix?

Write down the board-catalog rule from #2880: submit a new board to devices.esphome.io first, and have its manifest add no new external domain, pointing images and docs at that device page.

# before (definitions/README.md schema example)
docs_url: "https://esphome.io/components/esp32.html"
# Images: hosted URLs (manufacturer product page), first = primary.
images:
  - "https://example.com/media/my-awesome-board-top.jpg"
# after
docs_url: "https://devices.esphome.io/devices/My-Awesome-Board/"
# Images: hosted on devices.esphome.io (see "No new external domains"),
images:
  - "https://raw.githubusercontent.com/esphome/devices.esphome.io/main/src/docs/devices/My-Awesome-Board/top.jpg"
  • definitions/README.md: "Adding a Board" now opens with submitting the board to devices.esphome.io first, plus a "No new external domains" section (images through raw.githubusercontent.com, docs_url to the device page, no product_url on a new domain). The schema example now shows that shape, where it used to recommend manufacturer-hosted images.
  • CLAUDE.md (which AGENTS.md points to): the same rule under "Board catalog".
  • Docs only; no manifests, validators or generated files change.

Related issue or feature (if applicable):

  • fixes

Types of changes

  • Bugfix (non-breaking change which fixes an issue) — bugfix
  • New feature (non-breaking change which adds functionality) — new-feature
  • Enhancement to an existing feature — enhancement
  • Breaking change (fix or feature that would cause existing functionality to not work as expected) — breaking-change
  • Refactor (no behaviour change) — refactor
  • Documentation only — docs
  • Maintenance / chore — maintenance
  • CI / workflow change — ci
  • Dependencies bump — dependencies

Frontend coordination

  • No frontend change needed
  • Companion frontend PR: esphome/device-builder-frontend#

Checklist

  • The code change is tested and works locally.
  • Pre-commit hooks pass (ruff, codespell, yaml/json/python checks).
  • Tests have been added or updated under tests/ where applicable.
  • components.index.json / definitions/components/*.json have not been hand-edited (regenerate via script/sync_components.py if a sync is needed).
  • Architecture-level changes are reflected in docs/ARCHITECTURE.md and/or docs/API.md.

@bdraco

Copy link
Copy Markdown
Member Author

ESPHome Bot (@esphbot) review

@github-actions github-actions Bot added the docs Documentation label Nov 5, 2026
@codspeed

codspeed Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 28 untouched benchmarks
⏩ 1 skipped benchmark1


Comparing no-new-external-urls (6065290) with main (97e8a74)

Open in CodSpeed

Footnotes

  1. 1 benchmark was skipped, so the baseline result was used instead. If it was deleted from the codebase, click here and archive it to remove it from the performance reports. ↩

@codecov

codecov Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.76%. Comparing base (97e8a74) to head (6065290).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3025   +/-   ##
=======================================
  Coverage   99.76%   99.76%           
=======================================
  Files         300      300           
  Lines       26484    26484           
=======================================
  Hits        26423    26423           
  Misses         61       61           
Flag Coverage Δ
py3.12 99.73% <ø> (ø)
py3.14 99.62% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@bdraco
J. Nick Koston (bdraco) marked this pull request as ready for review November 5, 2026 21:49
Copilot AI balanced review requested due to automatic review settings November 5, 2026 21:49

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.

🟢 Approval recommended

No active review issues were identified for the documentation update clarifying board-submission prerequisites and URL guidance.

No open issues 🎉

What changed in this PR

Documents the board-contribution policy established in #2880: submit boards to devices.esphome.io first and avoid introducing new external domains into the catalog.

Changes:

  • Adds submission prerequisites and URL guidance for board images, documentation, and product links.
  • Updates the manifest example and contributor guidance to reflect the policy.
  • Changes documentation only; runtime behavior, validators, manifests, and generated files remain unchanged.
File Description
esphome_device_builder/​definitions/​README.md Documents the submission policy and updates example metadata URLs.
CLAUDE.md Adds the same policy to board-catalog contributor guidance.

Review effort: Balanced

@esphbot

ESPHome Bot (esphbot) commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Previous review — superseded by a newer review below.

@esphbot ESPHome Bot (esphbot) 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.

Tip

No blocking issues found — ready to merge.

@bdraco

Copy link
Copy Markdown
Member Author

Fixed in 6065290: both docs now name the same example, boards/iotix-adam/manifest.yaml. It's a curated board (no source: block) and in the tree now that #2880 has merged. That replaces the importer-owned kincony_kc868_a16 and the PR-number reference.

ESPHome Bot (@esphbot) review

@esphbot

Copy link
Copy Markdown
Contributor

J. Nick Koston (@bdraco): Fixed in 6065290: both docs now name the same example, boards/iotix-adam/manifest.yaml. It's a c...

Confirmed fixed. Both docs name boards/iotix-adam/manifest.yaml. Manifest exists and is curated (no source: block). It uses a devices.esphome.io docs_url, a raw.githubusercontent image and no product_url.

@esphbot

Copy link
Copy Markdown
Contributor

PR Review — Document that boards go to devices.esphome.io first and add no new external domains

Ready to merge. Both suggestions from the last review are fixed in 6065290, and I found nothing new.

What works:

  • Both docs now name the same example, boards/iotix-adam/manifest.yaml (CLAUDE.md:536, definitions/README.md:153). That manifest is in the tree, is curated (it has no source: block), and follows the rule: docs_url points at https://devices.esphome.io/devices/IoTiX-Adam/, the only image comes through raw.githubusercontent.com/esphome/devices.esphome.io/..., and it has no product_url.
  • The schema example in the README follows the same shape. Its sample product_url is on waveshare.com, which other catalog manifests already use, so the example obeys its own rule.
  • The PR-number reference is gone, which matches AGENTS.md's guidance against issue-number cross-refs.
  • The note about not committing image files to the wheel is kept.

No open issues.


✅ Resolved since last review (1)

Previously-flagged issues verified fixed
  • CLAUDE.md:536 Worked example differs from README and isn't in the catalog at this head


Checklist

  • Diff matches PR description (docs only, no manifests/validators changed)
  • Schema example is consistent with the new rule
  • Referenced examples exist and are representative
  • No hardcoded secrets

Automated review by Kōan (Claude) HEAD=6065290 18s

@esphbot ESPHome Bot (esphbot) 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.

Tip

No blocking issues found — ready to merge.

@bdraco
J. Nick Koston (bdraco) merged commit 7473030 into main Nov 5, 2026
26 checks passed
@bdraco
J. Nick Koston (bdraco) deleted the no-new-external-urls branch November 5, 2026 22:42
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

docs Documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants