# docs: Fix link in configuration documentation \(\#35249\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 109eddafd0eddccaffbdcd0c47badabd5c8b4bff

Requested commit: 109eddafd0eddccaffbdcd0c47badabd5c8b4bff

Commit: 109eddafd0eddccaffbdcd0c47badabd5c8b4bff

Tree: 1459d69e5dfc9e3561815a70087773acb7535a44

Author: Tom Monaghan

Committer: GitHub

## Message

````
docs: Fix link in configuration documentation (#35249)

# Summary

The link "under the configuration page" [on this
page](https://zed.dev/docs/configuring-zed#agent) is broken. It should
be linking to [this page](https://zed.dev/docs/ai/configuration).

## Approach

I noted that all other links in this document begin with "./" where the
ai configuration link does not, I also noticed [this
PR](https://github.com/zed-industries/zed/pull/31119) fixing a link with
the same approach. I don't fully understand why this is the fix.

## Previous Approaches

I have tried writing the following redirect in `docs/book.toml`:
`"/ai/configuration.html" = "/docs/ai/configuration.html"`. However this
broke the `mdbook` build with the below error.

```
2025-07-29 08:49:36 [ERROR] (mdbook::utils): 	Caused By: Not redirecting "/Users/tmonaghan/dev/zed/docs/book/ai/configuration.html" to "/docs/ai/configuration.html" because it already exists. Are you sure it needs to be redirected?
```

Release Notes:

- N/A
````

## Parents

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

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