Skip to content

docs(readme): use absolute URLs for logo images#21

Merged
nh13 merged 1 commit intomainfrom
fix-crates-io-readme-logos
Apr 30, 2026
Merged

docs(readme): use absolute URLs for logo images#21
nh13 merged 1 commit intomainfrom
fix-crates-io-readme-logos

Conversation

@nh13
Copy link
Copy Markdown
Collaborator

@nh13 nh13 commented Apr 30, 2026

Why

crates.io strips relative image paths from rendered READMEs, so the logo at the top of this crate's page on crates.io is broken. Switching to absolute raw.githubusercontent.com URLs renders correctly on both GitHub and crates.io.

What changed

  • Replaced relative srcset/src paths with absolute raw URLs pinned to main.
  • GitHub continues to honor <picture> dark/light switching; crates.io ignores <source> and falls back to the <img> (light variant), which is the same behavior as before, just no longer broken.

Note

The crate page itself only updates on the next published version — this PR prevents future releases from being broken, but doesn't refresh the existing crate page.

Use https://raw.githubusercontent.com/<org>/<repo>/main/... for logo
references so they render on crates.io. Relative paths render correctly
on GitHub but are dropped by the crates.io README sanitizer, leaving a
broken image at the top of every crate page.
@nh13 nh13 temporarily deployed to github-actions April 30, 2026 20:02 — with GitHub Actions Inactive
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 30, 2026

Warning

Rate limit exceeded

@nh13 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 59 minutes and 49 seconds before requesting another review.

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: f199ad22-0061-4722-a014-02c03a218d97

📥 Commits

Reviewing files that changed from the base of the PR and between fdb231a and 5125c79.

📒 Files selected for processing (1)
  • README.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix-crates-io-readme-logos

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
Review rate limit: 0/1 reviews remaining, refill in 59 minutes and 49 seconds.

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@nh13 nh13 merged commit cc3e18d into main Apr 30, 2026
6 checks passed
@nh13 nh13 deleted the fix-crates-io-readme-logos branch April 30, 2026 22:16
@fg-labs-bot fg-labs-bot Bot mentioned this pull request Apr 30, 2026
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