Skip to content

rustdoc search command #2207

Description

@brson

I want to be able to write rustdoc search vec::each and have rustdoc tell me the docs. It would use the following algorithm:

  • Locate all the source crates (.rc files) under the current path
  • Locate all the compiled crates used by those source crates
  • Scan the all the found source and compiled crates for matching items/methods/variants, etc
  • Generate the docs for all the matches
  • Maybe provide interactive selection when there are multiple matches

Requires #2206

Activity

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

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.P-lowLow priorityT-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