Skip to content

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

Closed
@huonw

Description

@huonw
Member

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.

Activity

added a commit that references this issue on Mar 6, 2014
31e7e67
added a commit that references this issue on Mar 6, 2014

auto merge of #12687 : alexcrichton/rust/issue-12681, r=huonw

2153293
added a commit that references this issue on Jul 25, 2022

Auto merge of rust-lang#12681 - lnicola:bump-deps, r=lnicola

added a commit that references this issue on Jun 13, 2024

Auto merge of rust-lang#12681 - y21:issue12677, r=Jarcho

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

    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

      Participants

      @huonw

      Issue actions

        Headings in rustdoc markdown chunks should have anchors & with copyable links · Issue #12681 · rust-lang/rust