docs.rs
docs.rs copied to clipboard
owner link to team doesn't link to team
https://docs.rs/aes/0.8.3/aes/
the repo is https://github.com/RustCrypto/block-ciphers
url is https://github.com/RustCrypto
this is actually a bug, it seems like we never started supporting teams with their proper links :)
To wrap up how a solution would look like:
-
RegistryApi::get_ownershas to be extended to fetch thekind(teamoruser) from the crates.io API - the kind has to be stored in the database (can we write a migration to backfill the correct kind for existing owners?), see
update_owners_in_database. - based on the owner kind, we can render a different link in the dropdown (
templates/rustdoc/topbar.html)
@rustbot claim