Skip to content

Docs.rs is generating external dependency links #1686

@Nemo157

Description

@Nemo157
Member

The source link for https://docs.rs/rand/latest/rand/trait.SeedableRng.html#method.seed_from_u64 links to https://rust-random.github.io/rand/src/rand_core/lib.rs.html#306 instead of https://docs.rs/rand_core/0.6.3/src/rand_core/lib.rs.html#306-335; and https://docs.rs/rand_mt/4.1.1/rand_mt/struct.Mt19937GenRand32.html#impl-RngCore links to https://rust-random.github.io/rand/rand_core/trait.RngCore.html instead of https://docs.rs/rand_core/0.6.3/rand_core/trait.RngCore.html.

IIRC there was some plan on changing how --extern-html-root-url worked when a crate specified its own html_root_url, but there was going to be a flag for docs.rs to keep the previous override behavior.

Activity

added
C-bugCategory: This is a bug
A-buildsArea: Building the documentation for a crate
A-backendArea: Webserver backend
on Feb 23, 2022
jyn514

jyn514 commented on Feb 23, 2022

@jyn514
Member

This is #1473, I haven't had time to work on it. Happy for someone else to fix it up - I think you may just need to rerun the ci job?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-backendArea: Webserver backendA-buildsArea: Building the documentation for a crateC-bugCategory: This is a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @Nemo157@jyn514

      Issue actions

        Docs.rs is generating external dependency links · Issue #1686 · rust-lang/docs.rs