Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

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

Oleksiy Syvokon60d51d56cd59
diff --git a/docs/book.toml b/docs/book.toml
index d6920656540..984860dae84 100644
--- a/docs/book.toml
+++ b/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}`,
diff --git a/docs/src/accounts.md b/docs/src/accounts.md
index 52fff087134..9254795236c 100644
--- a/docs/src/accounts.md
+++ b/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
diff --git a/docs/src/extensions/context-servers.md b/docs/src/extensions/context-servers.md
index cb29690971b..bd4c16126b8 100644
--- a/docs/src/extensions/context-servers.md
+++ b/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
diff --git a/docs/src/git.md b/docs/src/git.md
index 4ce1e1e3a71..da4b7884931 100644
--- a/docs/src/git.md
+++ b/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 -->