MINGW-packages/mingw-w64-zed/zed-fix-docs-build.patch
Maksim Bondarenkov c61fe72a57
zed: update to 0.198.2 (#25017)
upstream backports: 
- switch to directx backend (upstream backport) 
- don't use Direct2D for text
2025-08-06 20:27:32 +03:00

19 lines
968 B
Diff

--- a/docs/book.toml
+++ b/docs/book.toml
@@ -16,7 +16,7 @@ extra-watch-dirs = ["../crates/docs_preprocessor"]
# The config is passed directly to the html renderer, so all config
# options that apply to html apply to zed-html
[output.zed-html]
-command = "cargo run -p docs_preprocessor -- postprocess"
+command = "cargo run -p docs_preprocessor --release -- postprocess"
# Set here instead of above as we only use it replace the `#description#` we set in the template
# when no front-matter is provided value
default-description = "Learn how to use and customize Zed, the fast, collaborative code editor. Official docs on features, configuration, AI tools, and workflows."
@@ -94,5 +94,5 @@ enable = false
#
# 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 --"
+command = "cargo run -p docs_preprocessor --release --"
renderer = ["html"]