Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README: Use absolute link for image #1158

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Lorak-mmk
Copy link
Collaborator

@Lorak-mmk Lorak-mmk commented Dec 23, 2024

crates.io doesn't handle relative links well, so currently our logo is not visible on crates.io :(
image

Relevant crates.io issue: rust-lang/crates.io#9939

This PR changes the link to be absolute so that we are not bitten by this again.
It is a bit sad to do this, because now you need internet to render the README locally, and it just feels a bit wrong
to refer to the outside file instead of the file in the same filetree, but I don't see any better option for now.

OTOH if we ever decide to change the logo, the new one will be automatically visible in any place that uses absolute link, which is a plus.

Pre-review checklist

  • I have split my patch into logically separate commits.
  • All commit messages clearly explain what they change and why.
  • I added relevant tests for new features and bug fixes.
  • All commits compile, pass static checks and pass test.
  • PR description sums up the changes and reasons why they should be introduced.
  • I have provided docstrings for the public items that I want to introduce.
  • I have adjusted the documentation in ./docs/source/.
  • I added appropriate Fixes: annotations to PR description.

crates.io doesn't handle relative links well:
rust-lang/crates.io#9939 (comment)

It is a bit sad to do this, because now you need internet to render the
README locally;

OTOH if we ever decide to change the logo, the new one will be
automatically visible in any place that uses absolute link.
Copy link

cargo semver-checks found no API-breaking changes in this PR! 🎉🥳
Checked commit: 6e350d6

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