Skip to content

Commit f41b3b8

Browse files
authored
fix(doc-core): hash miss in link (#3681)
* feat: optimize home doc * fix: hash miss
1 parent b388d75 commit f41b3b8

File tree

4 files changed

+62
-44
lines changed

4 files changed

+62
-44
lines changed

packages/cli/doc-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"@mdx-js/react": "2.2.1",
6161
"@modern-js/builder": "workspace:*",
6262
"@modern-js/builder-rspack-provider": "workspace:*",
63-
"@modern-js/mdx-rs-binding": "^0.1.6",
63+
"@modern-js/mdx-rs-binding": "^0.1.8",
6464
"@modern-js/remark-container": "workspace:*",
6565
"@modern-js/utils": "workspace:*",
6666
"@types/compression": "^1.7.2",

packages/document/doc-tools-doc/docs/en/index.md

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,22 @@ hero:
1414
link: /guide/getting-started
1515

1616
features:
17-
- title: 'MDX Support'
18-
details: MDX is a powerful way to write content. You can use React components in Markdown.
17+
- title: Blazing fast build speed
18+
details: The core compilation module is based on the Rust front-end toolchain, providing a more ultimate development experience.
19+
icon: 🏃🏻‍♀️
20+
- title: Support for MDX content writing
21+
details: MDX is a powerful way to write content, allowing you to use React components in Markdown.
1922
icon: 📦
20-
- title: 'Feature Rich'
21-
details: Out of box support for i18n, full-text search etc.
23+
- title: Built-in full-text search
24+
details: Automatically generates a full-text search index for you during construction, providing out-of-the-box full-text search capabilities.
2225
icon: 🎨
23-
- title: 'Customizable'
24-
details: You can customize the theme ui and the build process.
25-
icon: 🚀
26+
- title: Simpler I18n solution
27+
details: With the built-in I18n solution, you can easily provide multi-language support for documents or components.
28+
icon: 🌍
29+
- title: Static site generation
30+
details: In production, it automatically builds into static HTML files, which can be easily deployed anywhere.
31+
icon: 🌈
32+
- title: Providing multiple custom capabilities
33+
details: Through its extension mechanism, you can easily extend theme UI and build process.
34+
icon: 🔥
2635
---

packages/document/doc-tools-doc/docs/zh/index.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,22 @@ hero:
1414
link: /zh/guide/getting-started
1515

1616
features:
17-
- title: 'MDX: 使用灵活语法编写内容'
17+
- title: 极高的编译性能
18+
details: 核心编译模块基于 Rust 前端工具链完成,带来更加极致的开发体验。
19+
icon: 🏃🏻‍♀️
20+
- title: 支持 MDX 编写内容
1821
details: MDX 是一种强大的内容编写方式,你可以在 Markdown 中使用 React 组件。
1922
icon: 📦
20-
- title: '功能丰富: 一站式解决方案'
21-
details: 对全文搜索、国际化等常见功能可以做到开箱即用
23+
- title: 内置全文搜索
24+
details: 构建时自动为你生成全文搜索索引,提供开箱即用的全文搜索能力
2225
icon: 🎨
23-
- title: '扩展性强: 提供多种自定义能力'
26+
- title: 更简单的 I18n 方案
27+
details: 通过内置的 I18n 方案,你可以轻松的为文档或者组件提供多语言支持。
28+
icon: 🌍
29+
- title: 静态站点生成
30+
details: 生产环境下,会自动构建为静态 HTML 文件,你可以轻松的部署到任何地方。
31+
icon: 🌈
32+
- title: 提供多种自定义能力
2433
details: 通过其扩展机制,你可以轻松的扩展主题 UI 和构建能力。
25-
icon: 🚀
34+
icon: 🔥
2635
---

pnpm-lock.yaml

Lines changed: 31 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)