I would like to show some figures (benchmark plots) in my crate's README. Most VCS forges nowadays support this (you "just" put an image reference in your Markdown with a relative URL, and that refers to an image file in your source tree) but crates.io and docs.rs don't pick up those images. For example, compare https://codeberg.org/zwol/logorrhea to https://crates.io/crates/logorrhea.
Is there any way to get crates.io and docs.rs to pick up the images? Failing that, is there a recommended way to make the view without the images say "there would be an image here if you were looking at the repository page"? (ideally without repurposing alt text - I know the alt text I have right now is bad, but this would be worse)
(related to, but not the same as, Include images in rustdoc output · Issue #32104 · rust-lang/rust · GitHub )
3 posts - 3 participants

