diondokter / device-driver

A toolkit to create better Rust device drivers, faster
https://diondokter.github.io/device-driver/
Apache License 2.0
114 stars 5 forks source link

Broken links in crates.io README file #18

Closed chrysn closed 10 months ago

chrysn commented 10 months ago

The links on https://crates.io/crates/device-driver/0.5.0 for the various examples go 404 -- they contain twice the /device-driver/ path component.

I'd file this as a PR, but I have no clue as to which magic makes the relative references in there work on crates.io in the first place – is there some regeneration of the README at release time involved? (Might be related to the tags not being set).

If there is no file mangling magic, please let me know and close this issue; then, this must be some crates.io mixup, maybe as part of processing the readme.workspace attribute.

diondokter commented 10 months ago

Argh, yeah I see...

It does do some mangling. Idk how to solve that except for duplicating the readme...

diondokter commented 10 months ago

They do work on GitHub, but in the crate the root changes to the crate folder.

diondokter commented 10 months ago

Thanks! I fixed it in the last release with hard links instead of relative links