From 259af2c67afa21e95e506fc713466be8475f23f7 Mon Sep 17 00:00:00 2001 From: RiskeyL <7a8y@163.com> Date: Fri, 6 Mar 2026 12:05:21 +0800 Subject: [PATCH 1/2] Add text-autospace CSS for CJK/Latin spacing Co-Authored-By: Claude Opus 4.6 --- custom.css | 3 +++ docs.json | 1 + 2 files changed, 4 insertions(+) create mode 100644 custom.css diff --git a/custom.css b/custom.css new file mode 100644 index 000000000..7ff92a777 --- /dev/null +++ b/custom.css @@ -0,0 +1,3 @@ +body { + text-autospace: normal; +} diff --git a/docs.json b/docs.json index c44335a27..0f6df5b06 100644 --- a/docs.json +++ b/docs.json @@ -1,6 +1,7 @@ { "$schema": "https://mintlify.com/docs.json", "theme": "maple", + "css": "custom.css", "name": "Dify Docs", "colors": { "primary": "#0060FF", From e4b4d4690b4c57a94b998f942df840908fc2cef3 Mon Sep 17 00:00:00 2001 From: RiskeyL <7a8y@163.com> Date: Fri, 6 Mar 2026 12:19:47 +0800 Subject: [PATCH 2/2] correct the css file name and remove it from docs.json --- docs.json | 1 - custom.css => style.css | 0 2 files changed, 1 deletion(-) rename custom.css => style.css (100%) diff --git a/docs.json b/docs.json index 0f6df5b06..c44335a27 100644 --- a/docs.json +++ b/docs.json @@ -1,7 +1,6 @@ { "$schema": "https://mintlify.com/docs.json", "theme": "maple", - "css": "custom.css", "name": "Dify Docs", "colors": { "primary": "#0060FF", diff --git a/custom.css b/style.css similarity index 100% rename from custom.css rename to style.css