Skip to content

rustdoc: broken link for logo on settings page #57892

Closed
@dhardy

Description

@dhardy

Running cargo doc locally builds a settings.html page with the Rust project logo in the top-left corner. This logo URL and its link target seem to be hard-coded?

<a href='.//index.html'><img src='https://www.rust-lang.org/logos/rust-logo-128x128-blk.png' alt='logo' width='100'></a>

The link target index.html does not exist. (IIRC the rustdoc team made a deliberate decision not to generate this page, though personally I think it should exist since multiple crates may be documented from the same repo.)

I believe this is a change in a very recent version of the nightly compiler. Our hosted doc does not include the logo, presumably because it has not been updated since (cargo deadlinks spots the broken URL and makes the test fail).

Also see: deadlinks/cargo-deadlinks#36

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions