Skip to content

Commit

Permalink
Fix doc image links
Browse files Browse the repository at this point in the history
  • Loading branch information
WinGeek committed Sep 8, 2024
1 parent 8c1e252 commit 82b79c5
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion docs/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permalink: /about/
# About OpenNHP Project
{: .fs-9 }

[中文版](./zh-cn/about/){: .label .fs-4 }
[中文版](/zh-cn/about/){: .label .fs-4 }

---

Expand Down
2 changes: 1 addition & 1 deletion docs/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permalink: /build/
# Build OpenNHP Source Code
{: .fs-9 }

[中文版](./zh-cn/build/){: .label .fs-4 }
[中文版](/zh-cn/build/){: .label .fs-4 }

---

2 changes: 1 addition & 1 deletion docs/code.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ permalink: /code/
{: .fs-9 }


[中文版](./zh-cn/code/){: .label .fs-4 }
[中文版](/zh-cn/code/){: .label .fs-4 }

---
2 changes: 1 addition & 1 deletion docs/comparison.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ permalink: /comparison/
# Comparison between NHP and SPA
{: .fs-9 }

[中文版](./zh-cn/comparison/){: .label .fs-4 }
[中文版](/zh-cn/comparison/){: .label .fs-4 }

---
2 changes: 1 addition & 1 deletion docs/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ permalink: /deploy/
# Deploy OpenNHP Binaries
{: .fs-9 }

[中文版](./zh-cn/deploy/){: .label .fs-4 }
[中文版](/zh-cn/deploy/){: .label .fs-4 }

---
2 changes: 1 addition & 1 deletion docs/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permalink: /features/
# OpenNHP Feature List
{: .fs-9 }

[中文版](./zh-cn/features/){: .label .fs-4 }
[中文版](/zh-cn/features/){: .label .fs-4 }

---

Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permalink: /
OpenNHP implements the Zero Trust communication protocol NHP.
{: .fs-6 .fw-300 }

[中文版](./zh-cn/){: .label .fs-4 }
[中文版](/zh-cn/){: .label .fs-4 }

---

Expand Down
2 changes: 1 addition & 1 deletion docs/server_plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permalink: /server_plugin/
# Develop NHP-Server Plugins
{: .fs-9 }

[中文版](./zh-cn/server_plugin/){: .label .fs-4 }
[中文版](/zh-cn/server_plugin/){: .label .fs-4 }

---

Expand Down
6 changes: 3 additions & 3 deletions docs/zh-cn/deploy.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ permalink: /zh-cn/deploy/

假设开发主机为Windows或者macOS,可通过安装虚拟机环境(如VirualBox)并创建两台Linux虚拟机来搭建简单的OpenNHP测试环境。在创建虚拟机时,请将网卡选项设置为`"Host-only Adapter"`(如下图),可使虚拟机的IP与开发主机IP在同一个网段。

![VirualBox Network](../images/vbnetwork.png)
![VirualBox Network](/images/vbnetwork.png)

**提示:** 如需该虚拟机同时具备访问互联网能力,可以另外增加一个`"NAT"`网卡:
![VirualBox Network](../images/vbnetwork2.png)
![VirualBox Network](/images/vbnetwork2.png)

至此,NHP三大组件的环境搭建如下:

Expand All @@ -35,7 +35,7 @@ permalink: /zh-cn/deploy/

### 2.2 开发测试环境的网络拓扑与基础信息

![OpenNHP-Dev-WSL](../images/dev_wsl.png)
![OpenNHP-Dev-WSL](/images/dev_wsl.png)

| 服务器名称 | IP地址 | 基础配置信息 |
|:--:|:--:|:--:|
Expand Down

0 comments on commit 82b79c5

Please sign in to comment.