Skip to content

Host the ros2_medkit README images next to the profile - #4

Merged
loehub merged 1 commit into
mainfrom
ros2-medkit-readme-assets
Oct 5, 2026
Merged

loehub merged 1 commit into
mainfrom
ros2-medkit-readme-assets

Conversation

@loehub

@loehub loehub commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds the three images the redesigned ros2_medkit README uses, so that repository carries no image binaries (suggested in review of selfpatch/ros2_medkit#709). Each image comes in a light and a dark version:

  • profile/assets/ros2_medkit/logo-*.png: the selfpatch.ai wordmark, linked to the website
  • profile/assets/ros2_medkit/header-*.png: ros2_medkit and its one-line claim, beside the Medkit drawing
  • profile/assets/ros2_medkit/how-it-works-*.png: your robot, then what ros2_medkit does (listens, records, serves), then where you read it

All six PNGs come to about 460 KB. The README loads them from raw.githubusercontent.com/selfpatch/.github/main/profile/assets/ros2_medkit/.

How they're made

  • profile/design/ros2_medkit.html draws them with the profile's fonts, colours and Medkit drawing, plus the website's wordmark, now in profile/design/images/.
  • render.mjs renders a list of sheets into their own folders. node profile/design/render.mjs renders all of them, node profile/design/render.mjs ros2_medkit just this one.
  • render.mjs also sizes each asset to whole pixels before capturing it. Before, a text-sized button could land on a fractional width and lose its right border.
  • The profile's own images are not re-rendered here, so the org profile page is unchanged.

Merge order

Merge this before selfpatch/ros2_medkit#709. The ros2_medkit README points at these files on main, so until this lands its logo, header and diagram show as broken images.

The ros2_medkit README is going back to plain GitHub markdown: badges on
top, real headings, commands as text. It keeps three drawn pieces, the
selfpatch.ai logo, a compact header and a how-it-works diagram. They
live here instead of in ros2_medkit, so that repository carries no image
binaries, and its README links to them on raw.githubusercontent.com.

profile/design/ros2_medkit.html draws them with the same fonts, colours
and Medkit drawing as the profile, and adds the website's wordmark.
render.mjs now renders a list of sheets into their own folders
(`node profile/design/render.mjs ros2_medkit` for one), and sizes each
asset to whole pixels before capturing it. Before, a text-sized button
landed on a fractional width and the capture shaved off its right
border. The profile's images are not re-rendered in this change.
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