# Clarify \`/docs\` error message when \`target/doc\` does not exist \(\#14364\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 85d77a3eeca3d8897200c6adc4bc01e52ed0182d

Requested commit: 85d77a3eeca3d8897200c6adc4bc01e52ed0182d

Commit: 85d77a3eeca3d8897200c6adc4bc01e52ed0182d

Tree: d642ac90ad14ad7d0e71e4e47f4ee3a0c266ea79

Author: Marshall Bowers

Committer: GitHub

## Message

```
Clarify `/docs` error message when `target/doc` does not exist (#14364)

This PR improves the error message shown by the `/docs` slash command
when indexing fails due to the absence of `target/doc`.

We now distinguish between the overall `target/doc` directory missing
and an individual crate directory missing beneath it.

Release Notes:

- N/A
```

## Parents

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

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