Skip to content

Headings in rustdoc markdown chunks should have anchors & with copyable links #12681

Closed
@huonw

Description

@huonw

E.g. the section documenting the {..., select, ...} formatting specifier is buried deep inside the doc page: http://static.rust-lang.org/doc/master/std/fmt/index.html

It would be nice if the headings had anchors (with links nearby, so accessing the appropriate anchor for a link was easy); the above could be, say, http://static.rust-lang.org/doc/master/std/fmt/index.html#sec.select and it would jump straight to the relevant part.

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