This is an automated email from the ASF dual-hosted git repository.
chaokunyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fory-site.git
The following commit(s) were added to refs/heads/main by this push:
new 1e1ccbb04d Fix homepage (#463)
1e1ccbb04d is described below
commit 1e1ccbb04d43a0fa361af4a9d0ad4f16798289a4
Author: Shawn Yang <[email protected]>
AuthorDate: Mon Jun 1 00:38:31 2026 +0800
Fix homepage (#463)
---
i18n/zh-CN/docusaurus-plugin-content-docs/current.json | 2 +-
.../docusaurus-plugin-content-docs/current/start/usage.md | 2 +-
i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.0.json | 2 +-
.../version-1.1.0/start/usage.md | 2 +-
src/components/home/HomepageLanding.tsx | 12 ++++++------
src/css/custom.css | 6 ++++++
6 files changed, 16 insertions(+), 10 deletions(-)
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current.json
b/i18n/zh-CN/docusaurus-plugin-content-docs/current.json
index 3b078ce794..bfee237b08 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current.json
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current.json
@@ -4,7 +4,7 @@
"description": "The label for version current"
},
"sidebar.docsSidebar.category.Introduction": {
- "message": "Apache Fory 介绍",
+ "message": "介绍",
"description": "The label for category Introduction in sidebar docsSidebar"
},
"sidebar.docsSidebar.category.Start": {
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/start/usage.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/start/usage.md
index c9bddb1775..5c600cd61f 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/start/usage.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/start/usage.md
@@ -1,6 +1,6 @@
---
id: usage
-title: Apache Fory™ 使用
+title: 使用
sidebar_position: 1
---
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.0.json
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.0.json
index 2dff06b2e4..46728fbbcd 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.0.json
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.0.json
@@ -4,7 +4,7 @@
"description": "The label for version 1.1.0"
},
"sidebar.docsSidebar.category.Introduction": {
- "message": "Apache Fory 介绍",
+ "message": "介绍",
"description": "The label for category Introduction in sidebar docsSidebar"
},
"sidebar.docsSidebar.category.Start": {
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.0/start/usage.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.0/start/usage.md
index c9bddb1775..5c600cd61f 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.0/start/usage.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.1.0/start/usage.md
@@ -1,6 +1,6 @@
---
id: usage
-title: Apache Fory™ 使用
+title: 使用
sidebar_position: 1
---
diff --git a/src/components/home/HomepageLanding.tsx
b/src/components/home/HomepageLanding.tsx
index 05829f81d9..1770c9e56b 100644
--- a/src/components/home/HomepageLanding.tsx
+++ b/src/components/home/HomepageLanding.tsx
@@ -99,12 +99,12 @@ const copies: Record<"en" | "zh", Copy> = {
heroEyebrow: "Apache Fory™ - 高性能多语言序列化",
heroTitle: "Apache Fory™",
heroSubtitle:
- "一个面向惯用领域对象、Schema IDL 和跨语言数据交换的高性能多语言序列化框架。",
+ "一个面向原生领域对象、Schema IDL 和跨语言数据交换的高性能多语言序列化框架。",
heroPrimary: "开始使用",
heroSecondary: "查看文档",
heroGithub: "查看 GitHub",
quickEyebrow: "快速开始",
- quickTitle: "从惯用领域对象开始。",
+ quickTitle: "从原生领域对象开始。",
quickSubtitle:
"用你的语言创建原生对象,然后分别通过一行 Fory 调用完成序列化和反序列化。",
installLabel: "安装",
@@ -113,7 +113,7 @@ const copies: Record<"en" | "zh", Copy> = {
capabilitiesEyebrow: "核心能力",
capabilitiesTitle: "Fory 面向这些问题而设计。",
capabilitiesSubtitle:
- "Fory 将跨语言序列化、惯用对象支持、Schema IDL/codegen、引用跟踪、Schema 演进和 row-format
访问组合在一起。",
+ "Fory 将跨语言序列化、原生对象支持、Schema IDL/codegen、引用跟踪、Schema 演进和 row-format
访问组合在一起。",
schemaEyebrow: "Schema IDL",
schemaTitle: "理解对象图的模型契约。",
schemaSubtitle:
@@ -472,10 +472,10 @@ const capabilities = [
const heroSurfaces = [
{
label: "Idiomatic",
- zhLabel: "惯用",
+ zhLabel: "原生",
title: "Idiomatic Objects",
- zhTitle: "惯用对象",
- text: "Serialize existing domain objects directly in the target language,
without extra conversion code.",
+ zhTitle: "原生对象",
+ text: "Serialize existing domain objects directly in the target language.",
zhText: "在目标语言内直接序列化已有领域对象,无需额外手动转换代码。",
link: "/docs/start/usage",
},
diff --git a/src/css/custom.css b/src/css/custom.css
index b410ab702e..de2b646a46 100644
--- a/src/css/custom.css
+++ b/src/css/custom.css
@@ -181,6 +181,10 @@
--fory-doc-toc-right-inset: 5.5rem;
}
+html:root {
+ --doc-sidebar-width: 310px;
+}
+
.theme-doc-breadcrumbs,
.theme-doc-footer,
.pagination-nav {
@@ -333,6 +337,8 @@
.menu__link {
border-radius: 6px;
font-size: .96rem;
+ overflow-wrap: normal;
+ word-break: normal;
}
.menu__link--active {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]