Skip to content

Commit a572329

Browse files
committed
docs: 更新文档结构和内容
- 添加readme.md文件并包含项目README内容 - 重构index.md文件结构,添加文档目录和旧版手册链接
1 parent 589a165 commit a572329

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

doc/index.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
```{include} ../README.md
1+
# Torch Book
2+
3+
```{toctree}
4+
readme
5+
旧版 Torch 手册 <https://torch-book.readthedocs.io/zh-cn/old/index.html>
26
```
37

48
# 索引和表格

doc/readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
```{include} ../README.md
2+
```

0 commit comments

Comments
 (0)