Skip to content

Include page title in the API search result #24062

Closed
@mhristache

Description

@mhristache

The API doc search is not very user friendly as the results only include a description of each result entry. The description is most of the time very generic, e.g. it's hard to know when the search result points to a module doc, or to a primitive or whatever.

See the screen shot below, the first result is pointing to the str module doc, which is not very helpful IMHO. The helpful result is the 4th one (the str primitive doc) but it's impossible to know that without going thru each result.

screen shot 2015-04-04 at 12 56 59

I think the search results should include the title of the page which will make it possible to easily find the wanted page.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: A feature request, i.e: not implemented / a PR.T-dev-toolsRelevant to the dev-tools subteam, which will review and decide on the PR/issue.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