docs: fix redirects and update old /assistant links (#30065)

Oleksiy Syvokon created

Release Notes:

- N/A

Change summary

docs/book.toml                         | 20 ++++++++++----------
docs/src/accounts.md                   |  2 +-
docs/src/extensions/context-servers.md |  2 +-
docs/src/git.md                        |  2 +-
4 files changed, 13 insertions(+), 13 deletions(-)

Detailed changes

docs/book.toml 🔗

@@ -25,16 +25,16 @@ enable = false
 "/assistant.html" = "/docs/assistant/assistant.html"
 "/developing-zed.html" = "/docs/development.html"
 "/conversations.html" = "/community-links"
-"/assistant/assistant.html" = "/ai/ai.html"
-"/assistant/configuration.html" = "/ai/configuration.html"
-"/assistant/assistant-panel.html" = "/ai/agent-panel.html"
-"/assistant/contexts.html" = "/ai/text-threads.html"
-"/assistant/inline-assistant.html" = "/ai/inline-assistant.html"
-"/assistant/commands.html" = "/ai/text-threads.html"
-"/assistant/prompting.html" = "/ai/rules.html"
-"/assistant/context-servers.html" = "/ai/mcp.html"
-"/assistant/model-context-protocol.html" = "/ai/mcp.html"
-"/model-improvement.html" = "/ai/ai-improvement.html"
+"/assistant/assistant.html" = "/docs/ai/ai.html"
+"/assistant/configuration.html" = "/docs/ai/configuration.html"
+"/assistant/assistant-panel.html" = "/docs/ai/agent-panel.html"
+"/assistant/contexts.html" = "/docs/ai/text-threads.html"
+"/assistant/inline-assistant.html" = "/docs/ai/inline-assistant.html"
+"/assistant/commands.html" = "/docs/ai/text-threads.html"
+"/assistant/prompting.html" = "/docs/ai/rules.html"
+"/assistant/context-servers.html" = "/docs/ai/mcp.html"
+"/assistant/model-context-protocol.html" = "/docs/ai/mcp.html"
+"/model-improvement.html" = "/docs/ai/ai-improvement.html"
 
 
 # Our custom preprocessor for expanding commands like `{#kb action::ActionName}`,

docs/src/accounts.md 🔗

@@ -5,7 +5,7 @@ Signing in to Zed is not a requirement. You can use most features you'd expect i
 ## What Features Require Signing In?
 
 1. All real-time [collaboration features](./collaboration.md).
-2. [LLM-powered features](./assistant/assistant.md), if you are using Zed as the provider of your LLM models. Alternatively, you can [bring and configure your own API keys](./assistant/configuration.md) if you'd prefer, and avoid having to sign in.
+2. [LLM-powered features](./ai/ai.md), if you are using Zed as the provider of your LLM models. Alternatively, you can [bring and configure your own API keys](./ai/configuration.md) if you'd prefer, and avoid having to sign in.
 
 ## Signing In
 

docs/src/extensions/context-servers.md 🔗

@@ -1,6 +1,6 @@
 # Context Servers
 
-Extensions may provide [context servers](../assistant/context-servers.md) for use in the Assistant.
+Extensions may provide [context servers](../ai/mcp.md) for use in the Assistant.
 
 ## Example extension
 

docs/src/git.md 🔗

@@ -74,7 +74,7 @@ In there, you can use the "Uncommit" button, which performs the `git reset HEAD
 Zed currently supports LLM-powered commit message generation.
 You can ask AI to generate a commit message by focusing on the message editor within the Git Panel and either clicking on the pencil icon in the bottom left, or reaching for the {#action git::GenerateCommitMessage} ({#kb git::GenerateCommitMessage}) keybinding.
 
-> Note that you need to have an LLM provider configured. Visit [the Assistant configuration page](./assistant/configuration.md) to learn how to do so.
+> Note that you need to have an LLM provider configured. Visit [the Assistant configuration page](./ai/configuration.md) to learn how to do so.
 
 <!-- Add media -->