Skip to content

Fix broken relative README links on crates.io#247

Open
Burrdi wants to merge 1 commit into
emilk:mainfrom
Burrdi:fix-readme-crates-io-links
Open

Fix broken relative README links on crates.io#247
Burrdi wants to merge 1 commit into
emilk:mainfrom
Burrdi:fix-readme-crates-io-links

Conversation

@Burrdi
Copy link
Copy Markdown

@Burrdi Burrdi commented Jun 1, 2026

The README is published to crates.io from the repo root (readme = "../README.md" in egui_plot/Cargo.toml), but crates.io resolves relative links against the crate's manifest directory (egui_plot/) instead of the README's actual location. That injects an extra egui_plot/ path segment, so the links 404 on the crate page.

Links as rendered on crates.io today (all 404):

  • ECOSYSTEM.md -> .../blob/HEAD/egui_plot/ECOSYSTEM.md
  • CONTRIBUTING.md -> .../blob/HEAD/egui_plot/CONTRIBUTING.md
  • WELCOME_CONTRIBUTIONS.md -> .../blob/HEAD/egui_plot/WELCOME_CONTRIBUTIONS.md

Fix: use absolute https://github.com/emilk/egui_plot/blob/main/<file> URLs, which resolve on both crates.io and GitHub (all return 200). Rendering on GitHub is unchanged.

  • I have followed the instructions in the PR template

The README is published from the repo root but crates.io resolves
relative links against the crate manifest dir (egui_plot/), producing
404s. Use absolute github.com/.../blob/main/ URLs instead.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 1, 2026

View snapshot changes at kitdiff

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