mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-01 14:15:11 +00:00
7a964ff91a
Reapplies #16700 with a corrected command. Now it no longer relies on a relative path. Thanks @maxdeviant for the quick help 🙏 Release Notes: - N/A
33 lines
1 KiB
TOML
33 lines
1 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 = "light"
|
|
additional-css = ["theme/page-toc.css", "theme/plugins.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"
|
|
|
|
# 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"]
|