Skip to content

Commit fc3f7fb

Browse files
authored
Merge pull request #14 from Lean-zh/add-docs-url
Add docs url
2 parents e2ec366 + 653188e commit fc3f7fb

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

docs/index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ description: Lean-zh Documentation
1515
<a href="https://t.me/Lean_zh_CN">
1616
<img src="https://img.shields.io/badge/Telegram-加入讨论-blue?style=flat&logo=telegram&logoColor=white" alt="Telegram Badge">
1717
</a>
18-
<a href="https://www.leanprover.cn">
18+
<a href="https://docs.leanprover.cn">
1919
<img src="https://img.shields.io/badge/Website-访问主页-blue.svg?style=flat" alt="Website">
2020
</a>
2121
</div>
@@ -52,11 +52,11 @@ Lean-zh 提供一个实践,交流,和知识分享的平台。如果你对 Le
5252

5353
目前 Lean-zh 已翻译的资源:
5454

55-
- [Lean4 函数式编程(Functional Programming in Lean)](https://www.leanprover.cn/fp-lean-zh/)
56-
- [Lean4 定理证明(Theorem Proving in Lean)](https://www.leanprover.cn/tp-lean-zh/)
57-
- [Lean4 元编程(Metaprogramming in Lean)](https://www.leanprover.cn/mp-lean-zh/)
58-
- [Lean 形式化数学(Mathematics in Lean)](https://www.leanprover.cn/math-in-lean-zh/)
59-
- [Lean4 中的类型检查(Type Checking in Lean)](https://www.leanprover.cn/type-checking-in-lean-zh/)
55+
- [Lean4 函数式编程(Functional Programming in Lean)](/fp-lean-zh/)
56+
- [Lean4 定理证明(Theorem Proving in Lean)](/tp-lean-zh/)
57+
- [Lean4 元编程(Metaprogramming in Lean)](/mp-lean-zh/)
58+
- [Lean 形式化数学(Mathematics in Lean)](/math-in-lean-zh/)
59+
- [Lean4 中的类型检查(Type Checking in Lean)](/type-checking-in-lean-zh/)
6060

6161
**进行中**
6262

docs/projects/meta-example.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
**参考资源**
1919

2020
- 元编程示例教程:[MetaExamples](https://github.com/siddhartha-gadgil/MetaExamples)
21-
- Lean 中文文档:[函数式编程](https://www.leanprover.cn/fp-lean-zh/)[Lake 文档](../references/lake-doc.md)以及 [Lean4 安装指南](../install.md)
21+
- Lean 中文文档:[函数式编程](/fp-lean-zh/)[Lake 文档](../references/lake-doc.md)以及 [Lean4 安装指南](../install.md)
2222

2323
**准备工作**
2424

@@ -263,7 +263,7 @@ import Hello.Greet
263263
> - 而是一个描述了 IO 操作的声明性表达
264264
> - 可以将 IO 操作视为一个接收"整个世界"作为输入,并返回新的世界状态的纯函数
265265
>
266-
> 更多关于 Lean 函数式编程的讨论,可以参考 [Lean 函数式编程指南](https://www.leanprover.cn/fp-lean-zh/hello-world/running-a-program.html)
266+
> 更多关于 Lean 函数式编程的讨论,可以参考 [Lean 函数式编程指南](/fp-lean-zh/hello-world/running-a-program.html)
267267
268268

269269
### 交互式程序

docs/tutorial/elan-lake.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ elan 配置记录可以在 `~/.elan/settings.toml` 查看。
7373

7474
[lake](https://github.com/leanprover/lake) 全称 Lean Make,是 Lean 4 的包管理器,用于创建 Lean 项目,构建 Lean 包和编译 Lean 可执行文件。
7575

76-
本节介绍 `lake` 的基本用法,[Lean 函数式编程](https://www.leanprover.cn/fp-lean-zh/hello-world/starting-a-project.html)也提供了创建 Lean 项目的例子,而更全面的参数介绍可参考 [lake 文档](../references/lake-doc.md)
76+
本节介绍 `lake` 的基本用法,[Lean 函数式编程](/fp-lean-zh/hello-world/starting-a-project.html)也提供了创建 Lean 项目的例子,而更全面的参数介绍可参考 [lake 文档](../references/lake-doc.md)
7777

7878
在终端中运行(`your_project_name` 替换为你自己起的名字)
7979

0 commit comments

Comments
 (0)