Skip to content

Don't require people to explicitly add crates for their docs.rs page to be accessible #96

@Michael-F-Bryan

Description

@Michael-F-Bryan

It'd be nice if you didn't need to explicitly click the "⊕ to Rust Search Extension" button on a crate's docs.rs page in order to search for items inside it.

Expected Behaviour

If you enter rs @itertools::XXX it would first try to find the corresponding page if already added and indexed, falling back to opening the search page (https://docs.rs/itertools/?search=XXX).

Actual Behaviour

Typing rs @itertools::Itertools and hitting <enter> just clears the search box and does nothing.

Typing rs !itertools::Itertools will navigate to https://docs.rs/releases/search?query=itertools%3A%3AItertools, i.e. it tries to find the itertools::Itertools crate in docs.rs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions