# assistant: Add basic glob support for expanding items in \`/docs\` \(\#14370\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/3deb000f70dc0673cf749b4ebd26c817ee6c164b)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 3deb000f70dc0673cf749b4ebd26c817ee6c164b

Requested commit: 3deb000f70dc0673cf749b4ebd26c817ee6c164b

Commit: 3deb000f70dc0673cf749b4ebd26c817ee6c164b

Tree: 92c58f1d35f8c97364189384317ea4fdb825c975

Author: Marshall Bowers

Committer: GitHub

## Message

````
assistant: Add basic glob support for expanding items in `/docs` (#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
````

## Parents

- [fe3fe945a9579b1d8181e2732ab101cb85040953](https://git.cafe/gitcafe/zed/commit/fe3fe945a9579b1d8181e2732ab101cb85040953?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/3deb000f70dc0673cf749b4ebd26c817ee6c164b?format=markdown)
