Skip to content

Commit 566788f

Browse files
committed
从部署地址中去掉 docs 路径
1 parent 7df12cf commit 566788f

File tree

17 files changed

+11
-10
lines changed

17 files changed

+11
-10
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ update-home: check-hugo
1212
@cp README.md content/_index.md
1313

1414
new: update-home
15-
@hugo new docs/$(doc)
15+
@hugo new $(doc)
1616

1717
serve: update-home
1818
@hugo server --minify --theme hugo-book --bind $(BIND) --port $(PORT)

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ bookToc: false
99

1010
阅读地址:<https://AsyncOS.github.io>
1111

12+
仓库地址:<https://github.com/AsyncOS/AsyncOS.github.io>
13+
1214
## 文档列表
1315

1416
- [异步操作系统设计方案](./content/docs/design/design.md)
1517

1618
## 添加/更新文档
1719

18-
仓库地址:<https://github.com/AsyncOS/AsyncOS.github.io>
19-
20-
该文档采用 hugo 生成静态网页,并在 `content/docs/` 目录添加或者更新文档。
20+
`content/` 目录添加或者更新文档。
2121

2222
以下是一些 make 命令简化流程:
2323

24-
* `make new doc=design/hi.md`:从模板中创建 `content/docs/design/hi.md` 文件
24+
* `make new doc=design/hi.md`:从模板中创建 `content/design/hi.md` 文件
2525
* `make serve`:本地预览文档
2626
* 如需修改地址和端口,使用 `make serve BIND=xxx PORT=xxx`
2727
* `make generate`:在 public 目录中生成静态网页

content/_index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ bookToc: false
99

1010
阅读地址:<https://AsyncOS.github.io>
1111

12+
仓库地址:<https://github.com/AsyncOS/AsyncOS.github.io>
13+
1214
## 文档列表
1315

1416
- [异步操作系统设计方案](./content/docs/design/design.md)
1517

1618
## 添加/更新文档
1719

18-
仓库地址:<https://github.com/AsyncOS/AsyncOS.github.io>
19-
20-
该文档采用 hugo 生成静态网页,并在 `content/docs/` 目录添加或者更新文档。
20+
`content/` 目录添加或者更新文档。
2121

2222
以下是一些 make 命令简化流程:
2323

24-
* `make new doc=design/hi.md`:从模板中创建 `content/docs/design/hi.md` 文件
24+
* `make new doc=design/hi.md`:从模板中创建 `content/design/hi.md` 文件
2525
* `make serve`:本地预览文档
2626
* 如需修改地址和端口,使用 `make serve BIND=xxx PORT=xxx`
2727
* `make generate`:在 public 目录中生成静态网页
File renamed without changes.

content/docs/design/design.md renamed to content/design/design.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ fn task.poll() {
294294

295295
下图演示了此调用流程,
296296

297-
![异步系统调用流程图](/img/异步系统调用示意图.svg)
297+
![异步系统调用流程图](../../img/异步系统调用示意图.svg)
298298

299299
上图中,请求队列和响应队列都可以视为无锁的双端队列,在用户与内核间共享,
300300

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)