[docs][fix]: 将文档索引表移动到上方,下方预计放引用的相关项目,如后续实现的代码插件项目。

This commit is contained in:
Betterlol 2026-07-07 18:26:26 +08:00
parent f1bb117630
commit f07eeb3f68
4 changed files with 38 additions and 14 deletions

View File

@ -8,6 +8,17 @@ A runtime JSON schema validation library for MoonBit, inspired by [Zod](https://
---
## Documents
| Document | Description |
|---|---|
| [API Reference](./docs/en/API.md) | Detailed API documentation |
| [CLI Reference](./docs/en/CLI.md) | Command-line usage |
| [Benchmark](./docs/en/BENCHMARK.md) | Performance comparison with other validation libraries |
| [Examples](./docs/en/EXAMPLES.md) | Practical usage examples |
---
## ✨ Why MoonZod? (AI-First)
| Feature | moon_zod | Typical Validation |
@ -206,12 +217,7 @@ moon run examples/json2schema # JSON → moon_zod schema
---
| Document | Description |
|---|---|
| [API Reference](./docs/en/API.md) | Detailed API documentation |
| [CLI Reference](./docs/en/CLI.md) | Command-line usage |
| [Benchmark](./docs/en/BENCHMARK.md) | Performance comparison with other validation libraries |
| [Examples](./docs/en/EXAMPLES.md) | Practical usage examples |
---
## Learn More

View File

@ -8,6 +8,17 @@ MoonBit 运行时 JSON Schema 校验库,受 [Zod](https://zod.dev) 和 [Pydant
---
## 文档
| 文档 | 说明 |
|---|---|
| [API 参考](./docs/zh/API.md) | 详细的 API 文档 |
| [CLI 参考](./docs/zh/CLI.md) | 命令行使用说明 |
| [性能基准](./docs/zh/BENCHMARK.md) | 与其他校验库的性能对比 |
| [使用示例](./docs/zh/EXAMPLES.md) | 实际使用示例 |
---
## ✨ 为什么选择 MoonZodAI 优先)
| 特性 | moon_zod | 典型校验库 |
@ -201,12 +212,7 @@ moon run examples/json2schema # JSON → moon_zod Schema
- `schema_to_moonbit_struct(schema)` —— 为每个对象/枚举 schema 生成 MoonBit struct/enum 定义
- `schema_to_moonbit_struct_full(schema)` —— 生成定义并附加静态 `Type::to_schema()` 函数
| 文档 | 说明 |
|---|---|
| [API 参考](./docs/zh/API.md) | 详细的 API 文档 |
| [CLI 参考](./docs/zh/CLI.md) | 命令行使用说明 |
| [性能基准](./docs/zh/BENCHMARK.md) | 与其他校验库的性能对比 |
| [使用示例](./docs/zh/EXAMPLES.md) | 实际使用示例 |
---
## 了解更多

View File

@ -8,7 +8,7 @@ A runtime JSON schema validation library for MoonBit, inspired by [Zod](https://
---
@include "INFO.md"
## Documents
| Document | Description |
|---|---|
@ -17,6 +17,12 @@ A runtime JSON schema validation library for MoonBit, inspired by [Zod](https://
| [Benchmark](./docs/en/BENCHMARK.md) | Performance comparison with other validation libraries |
| [Examples](./docs/en/EXAMPLES.md) | Practical usage examples |
---
@include "INFO.md"
---
## Learn More
- [DESIGN.md](./DESIGN.md) for architecture, design decisions, and future directions.

View File

@ -8,7 +8,7 @@ MoonBit 运行时 JSON Schema 校验库,受 [Zod](https://zod.dev) 和 [Pydant
---
@include "INFO.md"
## 文档
| 文档 | 说明 |
|---|---|
@ -17,6 +17,12 @@ MoonBit 运行时 JSON Schema 校验库,受 [Zod](https://zod.dev) 和 [Pydant
| [性能基准](./docs/zh/BENCHMARK.md) | 与其他校验库的性能对比 |
| [使用示例](./docs/zh/EXAMPLES.md) | 实际使用示例 |
---
@include "INFO.md"
---
## 了解更多
- [架构设计文档](./DESIGN.md) — 核心架构、设计决策与未来方向