assistant: Add /rustdoc slash command (#12453)

This PR adds a `/rustdoc` slash command for retrieving and inserting
rustdoc docs into the Assistant.

Right now the command accepts the crate name as an argument and will
return the top-level docs from `docs.rs`.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-05-29 18:14:29 -04:00 committed by GitHub
parent dd328efaa7
commit 08881828ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 152 additions and 21 deletions

View file

@ -39,6 +39,7 @@ parking_lot.workspace = true
project.workspace = true
regex.workspace = true
rope.workspace = true
rustdoc_to_markdown.workspace = true
schemars.workspace = true
search.workspace = true
semantic_index.workspace = true