This is an automated email from the ASF dual-hosted git repository.

sushuang pushed a commit to branch feat-cartesian-layout
in repository https://gitbox.apache.org/repos/asf/echarts-doc.git

commit 348c2b96e279153536bcd89df9e0adaf2e5bd25b
Author: 100pah <[email protected]>
AuthorDate: Wed Jul 30 03:05:19 2025 +0800

    common: Support param ${deprecated} in partial-version .
---
 en/api/version.md               | 4 ++++
 en/option-gl/partial/version.md | 5 ++++-
 en/option/partial/version.md    | 4 ++++
 zh/api/version.md               | 4 ++++
 zh/option-gl/partial/version.md | 5 ++++-
 zh/option/partial/version.md    | 6 ++++--
 6 files changed, 24 insertions(+), 4 deletions(-)

diff --git a/en/api/version.md b/en/api/version.md
index 93638360..191ddadd 100644
--- a/en/api/version.md
+++ b/en/api/version.md
@@ -1,5 +1,9 @@
 {{ target: partial-version }}
 
+{{ if: ${deprecated} }}
+> Deprecated since `v${version}`. ${deprecated}
+{{ else }}
 > Since `v${version}`
+{{ /if }}
 
 {{ // this line break is necessary for md quote }}
diff --git a/en/option-gl/partial/version.md b/en/option-gl/partial/version.md
index 4c4bf937..c0ff9532 100644
--- a/en/option-gl/partial/version.md
+++ b/en/option-gl/partial/version.md
@@ -1,5 +1,8 @@
 
 {{ target: partial-version }}
 
+{{ if: ${deprecated} }}
+> Deprecated since{{ if: ${isECharts} }} ECharts{{ /if }} `v${version}`. 
${deprecated}
+{{ else }}
 > Since{{ if: ${isECharts} }} ECharts{{ /if }} `v${version}`
-
+{{ /if }}
diff --git a/en/option/partial/version.md b/en/option/partial/version.md
index 2cbf7aee..ab87c8c8 100644
--- a/en/option/partial/version.md
+++ b/en/option/partial/version.md
@@ -1,5 +1,9 @@
 
 {{ target: partial-version }}
 
+{{ if: ${deprecated} }}
+> Deprecated since `v${version}`. ${deprecated}
+{{ else }}
 > Since `v${version}`
+{{ /if }}
 
diff --git a/zh/api/version.md b/zh/api/version.md
index ddb5bcd4..aea7002e 100644
--- a/zh/api/version.md
+++ b/zh/api/version.md
@@ -1,5 +1,9 @@
 {{ target: partial-version }}
 
+{{ if: ${deprecated} }}
+> 从 `v${version}` 开始不推荐使用(deprecated)。${deprecated}
+{{ else }}
 > 从 `v${version}` 开始支持
+{{ /if }}
 
 {{ // this line break is necessary for md quote }}
diff --git a/zh/option-gl/partial/version.md b/zh/option-gl/partial/version.md
index dfa8120d..45166dd6 100644
--- a/zh/option-gl/partial/version.md
+++ b/zh/option-gl/partial/version.md
@@ -1,5 +1,8 @@
 
 {{ target: partial-version }}
 
+{{ if: ${deprecated} }}
+> 从{{ if: ${isECharts} }} ECharts{{ /if }} `v${version}` 
开始不推荐使用(deprecated)。${deprecated}
+{{ else }}
 > 从{{ if: ${isECharts} }} ECharts{{ /if }} `v${version}` 开始支持
-
+{{ /if }}
diff --git a/zh/option/partial/version.md b/zh/option/partial/version.md
index 17e0d5eb..8f2d72e3 100644
--- a/zh/option/partial/version.md
+++ b/zh/option/partial/version.md
@@ -1,5 +1,7 @@
 
 {{ target: partial-version }}
-
+{{ if: ${deprecated} }}
+> 从 `v${version}` 开始不推荐使用(deprecated)。${deprecated}
+{{ else }}
 > 从 `v${version}` 开始支持
-
+{{ /if }}


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to