Skip to content

Broken links: platform-specific crate doc links to the same platform of a dependency even if it doesn't exist #2684

Closed
@eugenesvk

Description

@eugenesvk

Example: there is a x86_64-apple-darwin crate that references a dependency that is not platform-specific, those links would refer to the x86_64-apple-darwin category of that dependency even if there is no such category

Source crate: https://docs.rs/osakit/latest/osakit/type.Value.html
Link to serde_json: (click on Value) https://docs.rs/serde_json/1.0.133/x86_64-apple-darwin/serde_json/value/enum.Value.html

But serde_json only has 1 platform, so the proper link would've been https://docs.rs/serde_json/1.0.133/serde_json/enum.Value.html

Think that in such cases maybe docs should redirect to whatever platform is the default for the dep crate?

mdevils/rust-osakit#1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions