Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow restricting search results to come from a subset of crates #130971

Open
jieyouxu opened this issue Sep 28, 2024 · 1 comment
Open

Allow restricting search results to come from a subset of crates #130971

jieyouxu opened this issue Sep 28, 2024 · 1 comment
Labels
A-rustdoc-search Area: Rustdoc's search feature C-feature-request Category: A feature request, i.e: not implemented / a PR. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@jieyouxu
Copy link
Member

jieyouxu commented Sep 28, 2024

When docs are built for a set of crates (e.g. https://doc.rust-lang.org/nightly/nightly-rustc/), it's easy to find yourself looking at a wide collection of crates.

AFAIK there's currently no way to restrict searches from a subset of crates. The dropdown for filtering crates is a single-choice dropdown. I run into this quite often, in that I usually have a vague idea of which compiler crates the thing I'm looking for is in, but I do not know exactly which compiler crate. It would be very helpful to me if it's possible to filter on multiple crates.

Apologies if this has been brought up before, I couldn't find a similar issue in the issue tracker based on naive searches.

@jieyouxu jieyouxu added C-feature-request Category: A feature request, i.e: not implemented / a PR. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Sep 28, 2024
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Sep 28, 2024
@jieyouxu jieyouxu added the A-rustdoc-search Area: Rustdoc's search feature label Sep 28, 2024
@lolbinarycat
Copy link
Contributor

i'm planning to work on this once #129914 is merged.

@jieyouxu jieyouxu removed the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rustdoc-search Area: Rustdoc's search feature C-feature-request Category: A feature request, i.e: not implemented / a PR. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants