From 109eddafd0eddccaffbdcd0c47badabd5c8b4bff Mon Sep 17 00:00:00 2001 From: Tom Monaghan <62273348+t-monaghan@users.noreply.github.com> Date: Tue, 29 Jul 2025 08:59:46 +1000 Subject: [PATCH] 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 --- docs/src/configuring-zed.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/configuring-zed.md b/docs/src/configuring-zed.md index fd1761ebfa..556bad22b4 100644 --- a/docs/src/configuring-zed.md +++ b/docs/src/configuring-zed.md @@ -3390,7 +3390,7 @@ Run the `theme selector: toggle` action in the command palette to see a current ## Agent -Visit [the Configuration page](/ai/configuration.md) under the AI section to learn more about all the agent-related settings. +Visit [the Configuration page](./ai/configuration.md) under the AI section to learn more about all the agent-related settings. ## Outline Panel