forked from zed-industries/zed
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
assistant: Add basic glob support for expanding items in
/docs
(zed…
…-industries#14370) This PR updates the `/docs` slash command with basic globbing support for expanding docs. A `*` can be added to the item path to signify the end of a prefix match. For example: ``` # This will match any documentation items starting with `auk::`. # In this case, it will pull in the docs for each item in the crate. /docs docs-rs auk::* # This will match any documentation items starting with `auk::visitor::`, # which will pull in docs for the `visitor` module. /docs docs-rs auk::visitor::* ``` https://github.com/user-attachments/assets/5e1e21f1-241b-483f-9cd1-facc3aa76365 Release Notes: - N/A
- Loading branch information
1 parent
fe3fe94
commit 3deb000
Showing
2 changed files
with
70 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters