zed/crates/indexed_docs/src
Marshall Bowers 3deb000f70
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
2024-07-12 17:57:50 -04:00
..
providers Clarify /docs error message when target/doc does not exist (#14364) 2024-07-12 16:09:16 -04:00
indexed_docs.rs Allow extensions to define providers for indexing docs (#13755) 2024-07-02 19:49:20 -04:00
providers.rs Start work on genericizing /rustdoc (#13745) 2024-07-02 13:14:56 -04:00
registry.rs assistant: Add /docs slash command (#13794) 2024-07-03 17:04:08 -04:00
store.rs assistant: Add basic glob support for expanding items in /docs (#14370) 2024-07-12 17:57:50 -04:00