Skip to content

Commit 997b78e

Browse files
committed
doc: update
Use mermaid Signed-off-by: Jianhui Zhao <[email protected]>
1 parent 12c30db commit 997b78e

File tree

4 files changed

+22
-3
lines changed

4 files changed

+22
-3
lines changed

README.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,17 @@
2727
[vue]: https://github.com/vuejs/vue
2828
[server]: https://github.com/zhaojh329/rttys
2929

30-
![](/doc/diagram.png)
30+
```mermaid
31+
flowchart TB
32+
s[rttys with public IP address]
33+
u1["User(Web Browser)"] --> s
34+
u2["User(Web Browser)"] --> s
35+
u3["User(Web Browser)"] --> s
36+
s --> c1["rtty(Linux Device)"]
37+
s --> c2["rtty(Linux Device)"]
38+
s --> c3["rtty(Linux Device)"]
39+
```
40+
3141
![](/doc/terminal.gif)
3242
![](/doc/file.gif)
3343
![](/doc/web.gif)

README_ZH.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,17 @@
2828
[vue]: https://github.com/vuejs/vue
2929
[服务端]: https://github.com/zhaojh329/rttys
3030

31-
![](/doc/diagram.png)
31+
```mermaid
32+
flowchart TB
33+
s[rttys with public IP address]
34+
u1["User(Web Browser)"] --> s
35+
u2["User(Web Browser)"] --> s
36+
u3["User(Web Browser)"] --> s
37+
s --> c1["rtty(Linux Device)"]
38+
s --> c2["rtty(Linux Device)"]
39+
s --> c3["rtty(Linux Device)"]
40+
```
41+
3242
![](/doc/terminal.gif)
3343
![](/doc/file.gif)
3444
![](/doc/web.gif)

doc/diagram.drawio

-1
This file was deleted.

doc/diagram.png

-23.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)