Skip to content

Documentation needs indexes (function summaries) #40273

Closed as not planned
Closed as not planned
@freinn

Description

@freinn

I think that the current Rust documentation for the standard API is "too verbose". Don't get me wrong, is perfectly fine and useful like it is now. But:

  • It would be better to have an "index of methods". Just compare the java ArrayList doc to the Rust Vec doc. In the case of the Java doc, an user looking for the method he wants is very fast because all is condensed in a little space. Nevertheless, the Rust Vec webpage is nice, but you have to scroll a lot to find the exact function you are looking for.

I think there are 2 possible solutions to this:

  1. Condense the docs in a HTML "list" and show each method example and comments when you click on it.

  2. Create an index on the top of the page (or another page) with one-line description of what the function does and a link to the details in the same page (down).

I'm here not just to ask for work. I can help on it if you guide me a little, even being a rust noob.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: A feature request, i.e: not implemented / a PR.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