Skip to content

Link the Pybricks logos rather than keep copies - #10

Merged
dlech merged 1 commit into
mainfrom
link-logos
Oct 19, 2026
Merged

dlech merged 1 commit into
mainfrom
link-logos

Conversation

@dlech

@dlech dlech commented Oct 19, 2026

Copy link
Copy Markdown
Member

Removes the Pybricks logos from the repository and links to them from pybricks-code instead.

  • Files removed: docs/assets/pybricks-logo.svg (the white mark in the docs header) and docs/assets/pybricks-icon.svg (the app icon, used as the favicon and at the top of the README). Both were byte-for-byte copies of pybricks-code's src/editor/logo.svg and src/about/icon.svg.
  • Now linked: properdocs.yml (theme.logo, theme.favicon) and the README's header image point at those files on raw.githubusercontent.com, pinned to pybricks-code's v2.2.0 tag. At that tag the files are identical to the ones removed, so nothing looks different. Pinning to the tag means a file moved on pybricks-code's main branch can't break the site's logo.
  • Kept: docs/assets/pb.svg, the terminal screenshot made by tools/screenshot.py. It contains no logo.

Checked:

  • Docs: the strict build passes. In the built site, the logo and favicon are the absolute GitHub URLs, and no logo files are copied into it.
  • In a browser: the header logo loads from GitHub (50×50) and renders as the white brick on the blue header, as before.
  • Tests: ruff is clean and 988 tests pass.
  • Published packages: pybricks-core, pybricks-client and pybricks-service 1.0.0b1 never contained either file. None of the 204 files across their wheels and sdists is an image, and their READMEs embed none. pybricks-cli is built the same way.

The deleted files are still in the git history, which is public now. Removing them from there would mean rewriting main.

The repository is not to carry the Pybricks logos. The two it had, the
mark in the docs header and the app icon used as the favicon and at the
top of the README, were byte-for-byte copies of pybricks-code's
src/editor/logo.svg and src/about/icon.svg, so they are now linked from
there and the copies are gone.

The links name pybricks-code's v2.2.0 tag rather than its main branch. At
that tag the files are the ones that were here, so nothing looks
different, and a file moved or renamed on the main branch cannot take the
site's logo with it. raw.githubusercontent.com serves them as
image/svg+xml, which a browser will render from another origin.

None of the published packages ever contained either file: their sdists
and wheels hold only each package's own source, README and LICENSE.
@dlech
dlech merged commit 07811a0 into main Oct 19, 2026
22 checks passed
@dlech
dlech deleted the link-logos branch October 19, 2026 00:16
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