Skip to content

Commit 3dd9cf0

Browse files
committed
更正文档
1 parent cb06d6c commit 3dd9cf0

File tree

13 files changed

+209
-108
lines changed

13 files changed

+209
-108
lines changed

README.en-US.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<img src="/docs/assets/images/brand/light/3.png" alt="LinuxMirrors" width="140">
55
</picture>
66
<h1>LinuxMirrors</h1>
7-
<p>GNU/Linux system software mirror replacement script and Docker installation & mirror replacement script</p>
7+
<p>GNU/Linux mirror switching script & docker installation and registry mirror switching script</p>
88
<p><a href="README.md">简体中文</a> | <a href="README.zh-Hant.md">繁體中文</a> | English</p>
99
<p>
1010
<a href="https://github.com/SuperManito/LinuxMirrors/blob/main/LICENSE"><img src="https://shields.io/github/license/SuperManito/LinuxMirrors?color=%23007bff" alt="License: MIT"></a>

docs/community/index.zh-Hant.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
comments: true
3-
comments_description: 請確保討論內容與項目的相關性,不得發布廣告等違規內容
3+
comments_description: 請確保討論內容與專案的相關性,不得發布廣告等違規內容
44
hide:
55
- navigation
66
- toc

docs/index.en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: One-Click Script Makes Mirror Switching Easier
3-
description: GNU/Linux system software mirror replacement script and Docker installation & mirror replacement script
3+
description: GNU/Linux mirror switching script & docker installation and registry mirror switching script
44
comments: true
55
glightbox: false
66
comments_description: This comment section is only for sharing project usage reviews and experiences. For issues or suggestions, please go to the <a href="/community">Community</a> or <a href="https://github.com/SuperManito/LinuxMirrors/issues" target="_blank">Issues</a>
@@ -18,7 +18,7 @@ hide:
1818
</div>
1919
<img src="/assets/images/brand/light/2.png#only-light" alt="LinuxMirrors" style="width: 300px" />
2020
<img src="/assets/images/brand/dark/2.png#only-dark" alt="LinuxMirrors" style="width: 300px" />
21-
<figcaption>GNU/Linux system software mirror replacement script and Docker installation & mirror replacement script</figcaption>
21+
<figcaption>GNU/Linux mirror switching script & docker installation and registry mirror switching script</figcaption>
2222
<figcaption>One-Click Script Makes Mirror Switching Easier</figcaption>
2323
</figure>
2424
<figure class="home-cmd no-select" style="margin: 0; display: flex; flex-direction: column; justify-content: center" markdown>

docs/index.zh-Hant.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: 一鍵腳本讓換源更簡單
33
description: GNU/Linux 更換系統軟體源腳本及 Docker 安裝與換源腳本
44
comments: true
55
glightbox: false
6-
comments_description: 此評論區僅用於展示項目使用評估和經驗分享,回饋問題或建議請前往<a href="/community">社群</a>或<a href="https://github.com/SuperManito/LinuxMirrors/issues" target="_blank">Issues</a>
6+
comments_description: 此評論區僅用於展示專案使用評估和經驗分享,回饋問題或建議請前往<a href="/community">社群</a>或<a href="https://github.com/SuperManito/LinuxMirrors/issues" target="_blank">Issues</a>
77
hide:
88
- navigation
99
- toc
@@ -48,7 +48,7 @@ hide:
4848
---
4949

5050
只需要一行指令就能直接運行,零技術門檻,無需安裝任何依賴
51-
文檔整合了 AI 搜尋與聊天,提供各種使用場景的解決方案
51+
文件整合了 AI 搜尋與聊天,提供各種使用場景的解決方案
5252

5353
- :material-vector-polyline:{ .lg .middle } __系統支援廣泛__
5454

@@ -69,14 +69,14 @@ hide:
6969
---
7070

7171
最快僅需 10 秒即可完成軟體源的更換,高效能維運,節省大量時間成本
72-
項目經過數年的迭代與最佳化,腳本效能卓越運作穩定,場景判斷完善
72+
專案經過數年的迭代與最佳化,腳本效能卓越運作穩定,場景判斷完善
7373

7474
- :octicons-globe-24:{ .lg .middle } __全球網絡,執行無憂__
7575

7676
---
7777

7878
本網站提供全球邊緣網路加速,不畏各種網路環境,輕鬆訪問
79-
同時提供了多個備用地址以確保項目腳本始終可用,並真正做到使用無憂
79+
同時提供了多個備用地址以確保專案腳本始終可用,並真正做到使用無憂
8080

8181
- :material-arm-flex-outline:{ .lg .middle } __功能強大,無與倫比__
8282

@@ -96,8 +96,8 @@ hide:
9696

9797
---
9898

99-
項目已設立 MIT 開源授權協議,腳本程式碼完全開源且免費使用
100-
請尊重作者的知識成果,傳播時請在顯著位置標註軟體源或項目地址
99+
專案已設立 MIT 開源授權協定,腳本程式碼完全開源且免費使用
100+
請尊重作者的知識成果,傳播時請在顯著位置標註軟體源或專案地址
101101

102102
</div>
103103

@@ -106,7 +106,7 @@ hide:
106106
| 作業系統 | 適配版本 |
107107
| --- | :---: |
108108
| <a href="https://www.debian.org" title="https://www.debian.org" target="_blank"><img src="/assets/images/icon/debian.svg" width="16" height="16" style="vertical-align: -0.35em"></a> **Debian** | _8~13_ |
109-
| <a href="https://ubuntu.com" title="https://ubuntu.com" target="_blank"><img src="/assets/images/icon/ubuntu.svg" width="16" height="16" style="vertical-align: -0.15em"></a> **Ubuntu** :material-information-outline:{ title="支援烏班圖家族衍生作業系統,例如 <code>優麒麟</code> <code>Kubuntu</code> 等<br/>由於迭代速度較快並不直接支援所有非 LTS 的版本,因此具體詳見文檔" } | _14~25_ |
109+
| <a href="https://ubuntu.com" title="https://ubuntu.com" target="_blank"><img src="/assets/images/icon/ubuntu.svg" width="16" height="16" style="vertical-align: -0.15em"></a> **Ubuntu** :material-information-outline:{ title="支援烏班圖家族衍生作業系統,例如 <code>優麒麟</code> <code>Kubuntu</code> 等<br/>由於迭代速度較快並不直接支援所有非 LTS 的版本,因此具體詳見文件" } | _14~25_ |
110110
| <a href="https://www.kali.org" title="https://www.kali.org" target="_blank"><img src="/assets/images/icon/kali-linux.svg" width="16" height="16"></a> **Kali Linux** | _all_ |
111111
| <a href="https://linuxmint.com" title="https://linuxmint.com" target="_blank"><img src="/assets/images/icon/linux-mint.ico" width="16" height="16" style="vertical-align: -0.2em"></a> **Linux Mint** | _19~22 / LMDE 6_ |
112112
| <a href="https://www.deepin.org" title="https://www.deepin.org" target="_blank"><img src="/assets/images/icon/deepin.png" width="16" height="16" style="vertical-align: -0.2em"></a> **Deepin** | _all_ |

docs/mirrors/index.zh-Hant.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ search:
1010

1111
???+ question "友情提示"
1212

13-
本項目預設提供的軟體源列表主要服務位於中國大陸的用戶,因此對你來說該頁面上可能存在許多無用的資訊。作者沒有精力去採集和維護全世界的可用軟體源,因此可能需要透過命令選項自定義使用才能滿足你的實際需求,具體預設的國際軟體源詳見下方。
13+
本專案預設提供的軟體源列表主要服務位於中國大陸的用戶,因此對你來說該頁面上可能存在許多無用的資訊。作者沒有精力去採集和維護全世界的可用軟體源,因此可能需要透過命令選項自定義使用才能滿足你的實際需求,具體預設的國際軟體源詳見下方。
1414

1515
## 中國大陸 :flag-CN:
1616

docs/other/index.en.md

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,7 @@ hide:
44
- footer
55
---
66

7-
# :simple-docker:{style="color: #1d63ed"} Docker Installation & Mirror Switching Script
8-
9-
???+ question "Why do you see this notice?"
10-
11-
The script of this project currently mainly serves Simplified Chinese users, but from the very beginning it was defined as a universal mirror switching script, providing many command options for customization, which is also one of the reasons why this project is now available to users of other languages. The script output is currently fixed in Simplified Chinese. With feedback and usage from users of other languages, the script may support Traditional Chinese and English in the future.
12-
13-
The documentation is translated with tools, and some professional terms below may be inaccurate. Corrections are welcome.
7+
# :simple-docker:{style="color: #1d63ed"} Docker Installation & Registry Mirror Switcher
148

159
## One-Click Command
1610

@@ -213,6 +207,29 @@ hide:
213207

214208
## Command Options (Advanced Usage)
215209

210+
<!-- termynal -->
211+
```
212+
$ bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --help
213+
214+
Command options(name/meaning/value):
215+
216+
--source Specify Docker CE source address (domain or IP) address
217+
--source-registry Specify Docker registry mirror address (domain or IP) address
218+
--branch Specify Docker CE source repository (path) repo name
219+
--branch-version Specify Docker CE source repository version version
220+
--designated-version Specify Docker Engine installation version version
221+
--codename Specify Debian-based OS codename codename
222+
--protocol Specify Web protocol for Docker CE source http or https
223+
--use-intranet-source Prefer intranet Docker CE source address true or false
224+
--install-latest Whether to install the latest Docker Engine true or false
225+
--close-firewall Whether to disable the firewall true or false
226+
--clean-screen Whether to clear the screen before running true or false
227+
--only-registry Only switch registry mirror mode none
228+
--ignore-backup-tips Ignore backup overwrite prompt (do not backup) none
229+
--pure-mode Pure mode, minimal output none
230+
--help Show help menu none
231+
```
232+
216233
| Name | Meaning | Value |
217234
| :-: | :-: | :-: |
218235
| `--source` | Specify `Docker CE` source address (domain or IP) | `address` |
@@ -221,16 +238,17 @@ hide:
221238
| `--branch-version` | Specify `Docker CE` source repository version | `version (see docs below)` |
222239
| `--designated-version` | Specify `Docker Engine` installation version | `version (see docs below)` |
223240
| `--codename` | Specify `Debian-based` OS codename | `codename` |
224-
| `--protocol` | Specify WEB protocol for `Docker CE` source | `http` or `https` |
241+
| `--protocol` | Specify Web protocol for `Docker CE` source | `http` or `https` |
225242
| `--use-intranet-source` | Prefer intranet `Docker CE` source address | `true` or `false` |
226243
| `--install-latest` | Whether to install the latest `Docker Engine` | `true` or `false` |
227244
| `--close-firewall` | Whether to disable the firewall | `true` or `false` |
228245
| `--clean-screen` | Whether to clear the screen before running | `true` or `false` |
229246
| `--only-registry` | Only switch registry mirror mode | none |
230247
| `--ignore-backup-tips` | Ignore backup overwrite prompt (do not backup) | none |
231248
| `--pure-mode` | Pure mode, minimal output | none |
249+
| `--help` | Show help menu | none |
232250

233-
> Full source format: `<WEB protocol>://<source address (domain or IP)>/<repository path>`
251+
> Full source format: `< Web protocol>://<source address (domain or IP)>/<repository path>`
234252
235253
- ### Specify Registry Mirror Address
236254

@@ -405,7 +423,7 @@ hide:
405423
406424
If it prompts that it is not supported, please use the system's own package management tool to install it. Because these packages are built and maintained by the Linux distribution's package maintainers and may have differences in configuration or are built from modified source code.
407425
408-
You can also use &nbsp; [![Docker Desktop](/assets/images/icon/custom/docker-desktop.svg){ width="140" style="vertical-align: -0.2rem" }](https://www.docker.com/products/docker-desktop)
426+
You can also use &nbsp; [![Docker Desktop](../assets/images/icon/custom/docker-desktop.svg){ width="140" style="vertical-align: -0.2rem" }](https://www.docker.com/products/docker-desktop)
409427
410428
## Best Practices
411429

docs/other/index.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ hide:
166166

167167
由于一些不可抗力的因素,国内网络环境下目前无法访问 [Docker Hub](https://hub.docker.com) 因此不能正常拉取镜像,建议使用下方提到的国内可用镜像仓库源
168168

169-
注:脚本内的指定 WEB 协议交互仅用于控制 `Docker CE` 软件源,`Docker Registry` 强制使用 `HTTPS` 协议
169+
注:脚本内的指定 Web 协议交互仅用于控制 `Docker CE` 软件源,`Docker Registry` 强制使用 `HTTPS` 协议
170170

171171

172172
!!! quote "内置的镜像仓库源"
@@ -219,14 +219,15 @@ $ bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --help
219219
--branch-version 指定 Docker CE 软件源仓库版本 版本号
220220
--designated-version 指定 Docker Engine 安装版本 版本号
221221
--codename 指定 Debian 系操作系统的版本代号 代号名称
222-
--protocol 指定 Docker CE 软件源的 WEB 协议 http 或 https
222+
--protocol 指定 Docker CE 软件源的 Web 协议 http 或 https
223223
--use-intranet-source 是否优先使用内网 Docker CE 软件源地址 true 或 false
224224
--install-latest 是否安装最新版本的 Docker Engine true 或 false
225225
--close-firewall 是否关闭防火墙 true 或 false
226226
--clean-screen 是否在运行前清除屏幕上的所有内容 true 或 false
227227
--only-registry 仅更换镜像仓库模式 无
228-
--ignore-backup-tips 忽略覆盖备份提示 无
228+
--ignore-backup-tips 忽略覆盖备份提示
229229
--pure-mode 纯净模式,精简打印内容 无
230+
--help 查看帮助菜单 无
230231
```
231232

232233
| 名称 | 含义 | 选项值 |
@@ -237,14 +238,15 @@ $ bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --help
237238
| `--branch-version` | 指定 `Docker CE` 软件源仓库版本 | `版本号(详见下方文档)` |
238239
| `--designated-version` | 指定 `Docker Engine` 安装版本 | `版本号(详见下方文档)` |
239240
| `--codename` | 指定 `Debian` 系操作系统的版本代号 | `代号名称` |
240-
| `--protocol` | 指定 `Docker CE` 源的 WEB 协议 | `http``https` |
241+
| `--protocol` | 指定 `Docker CE` 源的 Web 协议 | `http``https` |
241242
| `--use-intranet-source` | 是否优先使用内网 `Docker CE` 软件源地址 | `true``false` |
242243
| `--install-latest` | 是否安装最新版本的 `Docker Engine` | `true``false` |
243244
| `--close-firewall` | 是否关闭防火墙 | `true``false` |
244245
| `--clean-screen` | 是否在运行前清除屏幕上的所有内容 | `true``false` |
245246
| `--only-registry` | 仅更换镜像仓库模式 ||
246247
| `--ignore-backup-tips` | 忽略覆盖备份提示(即不覆盖备份) ||
247248
| `--pure-mode` | 纯净模式,精简打印内容 ||
249+
| `--help` | 查看帮助菜单 ||
248250

249251
> 软件源完整格式 `<WEB协议>://<软件源地址(域名或IP)>/<软件源仓库(路径)>`
250252
@@ -421,7 +423,7 @@ $ bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --help
421423
422424
如果提示不支持那么请使用系统自带的包管理工具进行安装。因为这些软件包由 Linux 发行版的软件包维护者构建和维护,可能存在配置差异或由修改后的源代码构建。
423425
424-
也可以使用 &nbsp; [![Docker Desktop](/assets/images/icon/custom/docker-desktop.svg){ width="140" style="vertical-align: -0.2rem" }](https://www.docker.com/products/docker-desktop)
426+
也可以使用 &nbsp; [![Docker Desktop](../assets/images/icon/custom/docker-desktop.svg){ width="140" style="vertical-align: -0.2rem" }](https://www.docker.com/products/docker-desktop)
425427
426428
## 最佳实践
427429

0 commit comments

Comments
 (0)