Skip to content

rustdoc creates highlighted source in a directory that contains the absolute path to the source #11524

Closed
@SiegeLord

Description

@SiegeLord

E.g. if the crate root is located at /home/user/lib.rs then doing rustdoc lib.rs will put the highlighted source at doc/lib/home/user/lib.rs.html. This wasn't always the case (I estimate a few weeks ago it used relative paths). This is a problem as this can reveal more information than the user may wish to share with the rest of the world.

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