ZIm/docs/book.toml
Marshall Bowers 37927a5dc8
docs: Add some more redirects (#34537)
This PR adds some more redirects for the docs.

Release Notes:

- N/A
2025-07-16 10:01:31 -04:00

57 lines
2.4 KiB
TOML

[book]
authors = ["The Zed Team"]
language = "en"
multilingual = false
src = "src"
title = "Zed"
site-url = "/docs/"
[output.html]
no-section-label = true
preferred-dark-theme = "dark"
additional-css = ["theme/page-toc.css", "theme/plugins.css", "theme/highlight.css"]
additional-js = ["theme/page-toc.js", "theme/plugins.js"]
[output.html.print]
enable = false
[output.html.redirect]
"/elixir.html" = "/docs/languages/elixir.html"
"/javascript.html" = "/docs/languages/javascript.html"
"/ruby.html" = "/docs/languages/ruby.html"
"/python.html" = "/docs/languages/python.html"
"/adding-new-languages.html" = "/docs/extensions/languages.html"
"/language-model-integration.html" = "/docs/assistant/assistant.html"
"/assistant.html" = "/docs/assistant/assistant.html"
"/developing-zed.html" = "/docs/development.html"
"/conversations.html" = "/community-links"
"/ai.html" = "/docs/ai/overview.html"
"/assistant/assistant.html" = "/docs/ai/overview.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"
"/extensions/context-servers.html" = "/docs/extensions/mcp-extensions.html"
"/assistant-panel" = "/docs/ai/agent-panel.html"
"/assistant/model-context-protocolCitedby" = "/docs/ai/mcp.html"
"/community/feedback" = "/community-links"
"/context-servers" = "/docs/ai/mcp.html"
"/contribute-to-zed" = "/docs/development.html#contributor-links"
"/contributing" = "/docs/development.html#contributor-links"
"/debuggers" = "/docs/debugger.html"
"/development/development/macos" = "/docs/development/macos.html"
"/development/development/linux" = "/docs/development/linux.html"
"/development/development/windows" = "/docs/development/windows.html"
# Our custom preprocessor for expanding commands like `{#kb action::ActionName}`,
# and other docs-related functions.
#
# Comment the below section out if you need to bypass the preprocessor for some reason.
[preprocessor.zed_docs_preprocessor]
command = "cargo run -p docs_preprocessor --"
renderer = ["html"]