rust-random / rand

A Rust library for random number generation.
https://crates.io/crates/rand
Other
1.67k stars 432 forks source link

Documentation for 0.8.5 is missing/broken #1528

Closed marmeladema closed 3 days ago

marmeladema commented 4 days ago

Summary

https://docs.rs/crate/rand/latest reports rand-0.8.5 doesn't have any documentation.

See Screenshot 2024-11-18 at 10 23 30

This is making working with the rand crate relatively difficult as various links, even from the rand book, points to latest version.

A workaround is to look at the previous version documentation at https://docs.rs/rand/0.8.4/rand/index.html

benjamin-lieser commented 4 days ago

It seems packed_simd broke with the current compiler and so did the docs. I am not sure if it can be fixed after the fact though

dhardy commented 4 days ago

But curious that it got rebuilt; you can see that the previous build was Feb 14, 2022.

dhardy commented 3 days ago

Fixed

ranile commented 3 days ago

@dhardy I don't see the fix? It's still broken on docs.rs. https://docs.rs/rand redirects to https://docs.rs/crate/rand/latest. The last build (one day ago) failed: https://docs.rs/crate/rand/0.8.5/builds/1555579

benjamin-lieser commented 2 days ago

It is here https://docs.rs/rand/0.8.5/rand/index.html

There was no fix (which would require a new version, so potential problems for people for no use at all)

The old documentation was somehow restored. I guess docs.rs will eventually fix these things. See https://github.com/rust-lang/docs.rs/issues/2675