Skip to content

Commit 5043ae7

Browse files
Fix all fumadocs link errors - convert to relative links
Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com>
1 parent 9060f74 commit 5043ae7

25 files changed

Lines changed: 193 additions & 193 deletions

content/docs/faq.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ ObjectStack apps are standard Node.js applications. Deploy like any Node app:
169169
- **Serverless:** AWS Lambda, Google Cloud Functions
170170
- **PaaS:** Heroku, Railway, Render
171171

172-
See the [Deployment Guide](/docs/guides/deployment) for details.
172+
See the [Deployment Guide](./guides/deployment) for details.
173173

174174
## Development Questions
175175

@@ -306,7 +306,7 @@ Field.lookup({
306306

307307
## Still Have Questions?
308308

309-
- 📖 Check the [Guides](/docs/guides/getting-started)
309+
- 📖 Check the [Guides](./guides/getting-started)
310310
- 💬 Ask in [GitHub Discussions](https://github.com/objectstack-ai/spec/discussions)
311311
- 🐛 Report bugs in [GitHub Issues](https://github.com/objectstack-ai/spec/issues)
312312
- 📧 Email: support@objectstack.dev (for urgent issues)

content/docs/guides/field-types.cn.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ days_open: Field.formula({
451451
```
452452

453453
> ℹ️ **Info:**
454-
公式字段自动计算且只读。可用函数请参见 [公式函数](/docs/references/data/formulas)
454+
公式字段自动计算且只读。可用函数请参见 [公式函数](../references/data/formulas)
455455

456456

457457
---
@@ -737,7 +737,7 @@ created_at: Field.datetime({
737737

738738
## CRM 示例
739739

740-
参见 **[CRM 示例](/examples/crm)** 了解所有字段类型的实际使用:
740+
参见 **[CRM 示例](https://github.com/objectstack-ai/spec/tree/main/examples/crm)** 了解所有字段类型的实际使用:
741741

742742
- **账户:** 自动编号、公式、货币、带颜色的选择
743743
- **联系人:** 主从关系、公式(全名)、头像、电子邮件、电话
@@ -749,7 +749,7 @@ created_at: Field.datetime({
749749

750750
## 下一步
751751

752-
- [对象架构指南](/docs/guides/object-schema)
753-
- [验证规则](/docs/guides/validation-rules)
754-
- [工作流自动化](/docs/guides/workflows)
755-
- [字段 API 参考](/docs/references/data/core/Field)
752+
- [对象架构指南](../guides/object-schema)
753+
- [验证规则](../guides/validation-rules)
754+
- [工作流自动化](../guides/workflows)
755+
- [字段 API 参考](../references/data/core/Field)

content/docs/guides/field-types.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ days_open: Field.formula({
451451
```
452452

453453
> ℹ️ **Info:**
454-
Formula fields are automatically calculated and readonly. See [Formula Functions](/docs/references/data/formulas) for available functions.
454+
Formula fields are automatically calculated and readonly. See [Formula Functions](../references/data/formulas) for available functions.
455455

456456

457457
---
@@ -737,7 +737,7 @@ created_at: Field.datetime({
737737

738738
## Examples from CRM
739739

740-
See the **[CRM Example](/examples/crm)** for real-world usage of all field types:
740+
See the **[CRM Example](https://github.com/objectstack-ai/spec/tree/main/examples/crm)** for real-world usage of all field types:
741741

742742
- **Account:** Autonumber, formula, currency, select with colors
743743
- **Contact:** Master-detail, formula (full_name), avatar, email, phone
@@ -749,7 +749,7 @@ See the **[CRM Example](/examples/crm)** for real-world usage of all field types
749749

750750
## Next Steps
751751

752-
- [Object Schema Guide](/docs/guides/object-schema)
753-
- [Validation Rules](/docs/guides/validation-rules)
754-
- [Workflow Automation](/docs/guides/workflows)
755-
- [Field API Reference](/docs/references/data/core/Field)
752+
- [Object Schema Guide](../guides/object-schema)
753+
- [Validation Rules](../guides/validation-rules)
754+
- [Workflow Automation](../guides/workflows)
755+
- [Field API Reference](../references/data/core/Field)

content/docs/guides/getting-started.cn.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -275,15 +275,15 @@ views: {
275275

276276
现在你有了有效的元数据,你可以:
277277

278-
1. **探索示例**:查看 [CRM 示例](/examples/crm) 了解完整功能实现
279-
2. **学习字段类型**:参见 [字段类型指南](/docs/guides/field-types) 了解所有 30+ 种字段类型
278+
1. **探索示例**:查看 [CRM 示例](https://github.com/objectstack-ai/spec/tree/main/examples/crm) 了解完整功能实现
279+
2. **学习字段类型**:参见 [字段类型指南](../guides/field-types) 了解所有 30+ 种字段类型
280280
3. **构建 UI**:使用 ObjectStack 运行时的元数据来生成界面
281281
4. **部署**:推送到 ObjectStack 内核用于生产环境
282282

283283
**其他资源:**
284-
- [对象模式参考](/docs/references/data/core/Object)
285-
- [验证规则](/docs/guides/validation-rules)
286-
- [工作流自动化](/docs/guides/workflows)
284+
- [对象模式参考](../references/data/core/Object)
285+
- [验证规则](../guides/validation-rules)
286+
- [工作流自动化](../guides/workflows)
287287
</Step>
288288

289289
</Steps>

content/docs/guides/getting-started.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -275,15 +275,15 @@ views: {
275275

276276
Now that you have valid metadata, you can:
277277

278-
1. **Explore Examples**: Check out the [CRM Example](/examples/crm) for a full-featured implementation
279-
2. **Learn Field Types**: See the [Field Types Guide](/docs/guides/field-types) for all 30+ field types
278+
1. **Explore Examples**: Check out the [CRM Example](https://github.com/objectstack-ai/spec/tree/main/examples/crm) for a full-featured implementation
279+
2. **Learn Field Types**: See the [Field Types Guide](../guides/field-types) for all 30+ field types
280280
3. **Build UI**: Use the metadata with ObjectStack runtime to generate interfaces
281281
4. **Deploy**: Push to an ObjectStack kernel for production use
282282

283283
**Additional Resources:**
284-
- [Object Schema Reference](/docs/references/data/core/Object)
285-
- [Validation Rules](/docs/guides/validation-rules)
286-
- [Workflow Automation](/docs/guides/workflows)
284+
- [Object Schema Reference](../references/data/core/Object)
285+
- [Validation Rules](../guides/validation-rules)
286+
- [Workflow Automation](../guides/workflows)
287287
</Step>
288288

289289
</Steps>

content/docs/guides/migration/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This section contains guides for migrating your applications between different v
99

1010
## Available Guides
1111

12-
### [Version 0.x to 1.x Migration](/docs/guides/migration/v0-to-v1)
12+
### [Version 0.x to 1.x Migration](../../guides/migration/v0-to-v1)
1313
Complete guide for migrating from version 0.x to 1.x, including:
1414
- Breaking changes
1515
- New features

content/docs/guides/view-configuration.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@ export const Opportunity = ObjectSchema.create({
800800

801801
## Next Steps
802802

803-
- [Field Types Guide](/docs/guides/field-types)
804-
- [Workflows & Validation](/docs/guides/workflows-validation)
805-
- [Dashboard Configuration](/docs/guides/dashboards)
806-
- [CRM Example](/examples/crm) - See all view types in action
803+
- [Field Types Guide](../guides/field-types)
804+
- [Workflows & Validation](../guides/workflows-validation)
805+
- [Dashboard Configuration](../guides/dashboards)
806+
- [CRM Example](https://github.com/objectstack-ai/spec/tree/main/examples/crm) - See all view types in action

content/docs/guides/workflows-validation.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@ export const Opportunity = ObjectSchema.create({
727727

728728
## Next Steps
729729

730-
- [Field Types Guide](/docs/guides/field-types)
731-
- [Object Schema Reference](/docs/references/data/core/Object)
732-
- [Formula Functions](/docs/references/data/formulas)
733-
- [CRM Example](/examples/crm) - See validations and workflows in action
730+
- [Field Types Guide](../guides/field-types)
731+
- [Object Schema Reference](../references/data/core/Object)
732+
- [Formula Functions](../references/data/formulas)
733+
- [CRM Example](https://github.com/objectstack-ai/spec/tree/main/examples/crm) - See validations and workflows in action

content/docs/index.cn.mdx

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,50 +16,50 @@ import { Book, Compass, FileText, Layers } from 'lucide-react';
1616
<Card
1717
icon={<FileText />}
1818
title="快速开始"
19-
href="/docs/guides/getting-started"
19+
href="./guides/getting-started"
2020
description="5 分钟内构建你的第一个对象。通过实际示例学习基础知识。"
2121
/>
2222
<Card
2323
icon={<Compass />}
2424
title="概念"
25-
href="/docs/concepts/manifesto"
25+
href="./concepts/manifesto"
2626
description="理解「意图优于实现」和「本地优先」架构的理念。"
2727
/>
2828
<Card
2929
icon={<Layers />}
3030
title="规范"
31-
href="/docs/specifications/data/architecture"
31+
href="./specifications/data/architecture"
3232
description="架构蓝图。深入了解 ObjectQL(数据)、ObjectUI(视图)和 ObjectOS(控制)。"
3333
/>
3434
<Card
3535
icon={<Book />}
3636
title="协议参考"
37-
href="/docs/references/data/core/Object"
37+
href="./references/data/core/Object"
3838
description="字典。每个模式、字段类型和配置选项的全面参考。"
3939
/>
4040
</Cards>
4141

4242
## 快速链接
4343

4444
### 基础指南
45-
- **[字段类型](/docs/guides/field-types)** - 30+ 种字段类型及示例(文本、数字、选择、查找、公式等)
46-
- **[视图配置](/docs/guides/view-configuration)** - 网格、看板、日历、甘特图和表单布局
47-
- **[工作流与验证](/docs/guides/workflows-validation)** - 业务规则和自动化
48-
- **[项目结构](/docs/guides/project-structure)** - 组织代码的最佳实践
45+
- **[字段类型](./guides/field-types)** - 30+ 种字段类型及示例(文本、数字、选择、查找、公式等)
46+
- **[视图配置](./guides/view-configuration)** - 网格、看板、日历、甘特图和表单布局
47+
- **[工作流与验证](./guides/workflows-validation)** - 业务规则和自动化
48+
- **[项目结构](./guides/project-structure)** - 组织代码的最佳实践
4949

5050
### 示例
51-
- **[CRM 示例](/examples/crm)** - 全功能应用,包含 6 个对象、工作流、视图、仪表板
52-
- **[Todo 示例](/examples/todo)** - 快速入门最小化示例
51+
- **[CRM 示例](https://github.com/objectstack-ai/spec/tree/main/examples/crm)** - 全功能应用,包含 6 个对象、工作流、视图、仪表板
52+
- **[Todo 示例](https://github.com/objectstack-ai/spec/tree/main/examples/todo)** - 快速入门最小化示例
5353

5454
## "五位一体"架构
5555

5656
ObjectStack 建立在五个协同工作的核心模块之上:
5757

5858
| 模块 | 协议 | 职责 |
5959
| :--- | :--- | :--- |
60-
| **数据层** | **[ObjectQL](/docs/specifications/data/architecture)** | 定义数据的形状(`Object``Field`)以及如何访问它(`Query AST`)。与 SQL/NoSQL 无关。 |
61-
| **UI 层** | **[ObjectUI](/docs/specifications/ui/sdui-protocol)** | 投影层。将用户界面定义为抽象的 JSON 布局(视图、仪表板、操作)。 |
62-
| **控制层** | **[ObjectOS](/docs/specifications/server/kernel-architecture)** | 内核。处理身份、安全、同步和自动化。 |
60+
| **数据层** | **[ObjectQL](./specifications/data/architecture)** | 定义数据的形状(`Object``Field`)以及如何访问它(`Query AST`)。与 SQL/NoSQL 无关。 |
61+
| **UI 层** | **[ObjectUI](./specifications/ui/sdui-protocol)** | 投影层。将用户界面定义为抽象的 JSON 布局(视图、仪表板、操作)。 |
62+
| **控制层** | **[ObjectOS](./specifications/server/kernel-architecture)** | 内核。处理身份、安全、同步和自动化。 |
6363
| **AI 层** | **AI 协议** | AI 代理定义、工具、知识库和模型配置。 |
6464
| **API 层** | **API 协议** | 标准化的 REST/GraphQL 契约,带请求/响应封装。 |
6565

content/docs/index.mdx

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,25 @@ This documentation is the authoritative reference for the ObjectStack Protocol.
1616
<Card
1717
icon={<FileText />}
1818
title="Quick Start"
19-
href="/docs/quick-start"
19+
href="./quick-start"
2020
description="Get started in under 5 minutes. Choose your learning path based on your role."
2121
/>
2222
<Card
2323
icon={<Book />}
2424
title="Tutorials"
25-
href="/docs/tutorials"
25+
href="./tutorials"
2626
description="Hands-on step-by-step tutorials to build real applications and learn by doing."
2727
/>
2828
<Card
2929
icon={<Compass />}
3030
title="Concepts"
31-
href="/docs/concepts/manifesto"
31+
href="./concepts/manifesto"
3232
description="Understand the philosophy of 'Intent over Implementation' and the 'Local-First' architecture."
3333
/>
3434
<Card
3535
icon={<Layers />}
3636
title="Specifications"
37-
href="/docs/specifications"
37+
href="./specifications"
3838
description="The Architecture Blueprints. Deep dive into ObjectQL (Data), ObjectUI (View), and ObjectOS (Control)."
3939
/>
4040
</Cards>
@@ -45,50 +45,50 @@ This documentation is the authoritative reference for the ObjectStack Protocol.
4545
<Card
4646
icon={<FileText />}
4747
title="Developer Guides"
48-
href="/docs/guides/getting-started"
48+
href="./guides/getting-started"
4949
description="Comprehensive guides for building with ObjectStack. Field types, views, workflows, and more."
5050
/>
5151
<Card
5252
icon={<Book />}
5353
title="API Reference"
54-
href="/docs/references/data/core/Object"
54+
href="./references/data/core/Object"
5555
description="Complete API documentation for every schema, field type, and configuration option."
5656
/>
5757
<Card
5858
icon={<FileText />}
5959
title="FAQ"
60-
href="/docs/faq"
60+
href="./faq"
6161
description="Frequently asked questions about ObjectStack and how to use it."
6262
/>
6363
<Card
6464
icon={<FileText />}
6565
title="Troubleshooting"
66-
href="/docs/troubleshooting"
66+
href="./troubleshooting"
6767
description="Common issues and how to resolve them."
6868
/>
6969
</Cards>
7070

7171
## Quick Links
7272

7373
### Essential Guides
74-
- **[Field Types](/docs/guides/field-types)** - 30+ field types with examples (text, number, select, lookup, formula, etc.)
75-
- **[View Configuration](/docs/guides/view-configuration)** - Grid, Kanban, Calendar, Gantt, and Form layouts
76-
- **[Workflows & Validation](/docs/guides/workflows-validation)** - Business rules and automation
77-
- **[Project Structure](/docs/guides/project-structure)** - Best practices for organizing your code
74+
- **[Field Types](./guides/field-types)** - 30+ field types with examples (text, number, select, lookup, formula, etc.)
75+
- **[View Configuration](./guides/view-configuration)** - Grid, Kanban, Calendar, Gantt, and Form layouts
76+
- **[Workflows & Validation](./guides/workflows-validation)** - Business rules and automation
77+
- **[Project Structure](./guides/project-structure)** - Best practices for organizing your code
7878

7979
### Examples
80-
- **[CRM Example](/examples/crm)** - Full-featured application with 6 objects, workflows, views, dashboards
81-
- **[Todo Example](/examples/todo)** - Quick-start minimal example
80+
- **[CRM Example](https://github.com/objectstack-ai/spec/tree/main/examples/crm)** - Full-featured application with 6 objects, workflows, views, dashboards
81+
- **[Todo Example](https://github.com/objectstack-ai/spec/tree/main/examples/todo)** - Quick-start minimal example
8282

8383
## The "Trinity" Architecture
8484

8585
ObjectStack is built on five core modules that work in unison:
8686

8787
| Module | Protocol | Responsibility |
8888
| :--- | :--- | :--- |
89-
| **Data Layer** | **[ObjectQL](/docs/specifications/data/architecture)** | Defines the shape of data (`Object`, `Field`) and how to access it (`Query AST`). Agnostic to SQL/NoSQL. |
90-
| **UI Layer** | **[ObjectUI](/docs/specifications/ui/sdui-protocol)** | The Projection. Defines User Interfaces as abstract JSON layouts (Views, Dashboards, Actions). |
91-
| **Control Layer** | **[ObjectOS](/docs/specifications/server/kernel-architecture)** | The Kernel. Handles Identity, Security, Sync, and Automation. |
89+
| **Data Layer** | **[ObjectQL](./specifications/data/architecture)** | Defines the shape of data (`Object`, `Field`) and how to access it (`Query AST`). Agnostic to SQL/NoSQL. |
90+
| **UI Layer** | **[ObjectUI](./specifications/ui/sdui-protocol)** | The Projection. Defines User Interfaces as abstract JSON layouts (Views, Dashboards, Actions). |
91+
| **Control Layer** | **[ObjectOS](./specifications/server/kernel-architecture)** | The Kernel. Handles Identity, Security, Sync, and Automation. |
9292
| **AI Layer** | **AI Protocol** | AI agent definitions, tools, knowledge bases, and model configurations. |
9393
| **API Layer** | **API Protocol** | Standardized REST/GraphQL contracts with request/response envelopes. |
9494

0 commit comments

Comments
 (0)