diff --git a/README.md b/README.md index 7f115bf..ed26a8a 100644 --- a/README.md +++ b/README.md @@ -6,12 +6,12 @@

- 官方网站 + 官方网站

+ GNU/Linux 一键更换系统软件源脚本
+ 本项目旨在为从事计算机相关行业的朋友们提供便利

-- __GNU/Linux 一键更换系统软件源脚本__ -- __本项目旨在为从事计算机相关行业的朋友们提供便利__ - ### 适配系统及版本号 Linux Logo @@ -71,8 +71,6 @@ ### LICENSE Copyright © 2023, [SuperManito](https://github.com/SuperManito). Released under the [MIT](https://github.com/SuperManito/LinuxMirrors/blob/main/LICENSE). - -项目已设立开源许可协议,传播时请在显著位置标注来源和作者,请尊重作者的知识成果,建议通过命令直接调用脚本 如有意见与建议您可以提交至 [Issues](https://github.com/SuperManito/LinuxMirrors/issues),如果您需要提交您的代码,请前往 GitHub 仓库提交 [Pull Requests](https://github.com/SuperManito/LinuxMirrors/pulls) -__如果您觉得这个项目不错对您有所帮助的话,方便在右上角给颗 ⭐ 并分享给更多的朋友吗?__ \ No newline at end of file +__如果您觉得这个项目不错对您有所帮助的话,方便在右上角给颗 ⭐ 并分享给更多的朋友吗?__ diff --git a/docs/index.md b/docs/index.md index 61e4bee..313ece4 100644 --- a/docs/index.md +++ b/docs/index.md @@ -4,11 +4,8 @@ hide: - toc --- -![](./assets/images/logo.png) - -GNU/Linux 一键更换系统软件源脚本 -本项目旨在为从事计算机相关行业的朋友们提供便利 - +![](./assets/images/logo.png) +GNU/Linux 一键更换系统软件源脚本 ## 适配系统及版本号 diff --git a/docs/use/command-options.md b/docs/use/command-options.md index 4a01650..5134201 100644 --- a/docs/use/command-options.md +++ b/docs/use/command-options.md @@ -4,14 +4,14 @@ | `--source` | 指定软件源地址 | 地址 | | `--branch` | 指定软件源分支 | 分支名 | | `--abroad` | 使用海外软件源 | 无 | -| `--web-protocol` | 指定 WEB 协议 | http 或 https | -| `--intranet` | 使用内网地址 | true 或 false | -| `--install-epel` | 安装 EPEL 附加软件包 | true 或 false | -| `--close-firewall` | 关闭防火墙 | true 或 false | -| `--backup` | 备份原有软件源 | true 或 false | +| `--web-protocol` | 指定 WEB 协议 | `http` 或 `https` | +| `--intranet` | 使用内网地址 | `true` 或 `false` | +| `--install-epel` | 安装 EPEL 附加软件包 | `true` 或 `false` | +| `--close-firewall` | 关闭防火墙 | `true` 或 `false` | +| `--backup` | 备份原有软件源 | `true` 或 `false` | | `--ignore-backup-tips` | 忽略覆盖备份提示 | 无 | -| `--updata-software` | 更新软件包 | true 或 false | -| `--clean-cache` | 清理下载缓存 | true 或 false | +| `--updata-software` | 更新软件包 | `true` 或 `false` | +| `--clean-cache` | 清理下载缓存 | `true` 或 `false` | ## 示例 @@ -20,7 +20,7 @@ 若不想通过交互选择默认提供的软件源,你可以使用该命令选项指定软件源地址 ``` bash -bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh) +bash ChangeMirrors.sh --source mirrors.ustc.edu.cn ``` ### 指定软件源分支 @@ -88,8 +88,8 @@ bash ChangeMirrors.sh \ ``` sh title="参考命令" linenums="1" bash ChangeMirrors.sh \ - --source <软件源域名> \ - --web-protocol \ + --source mirror.example.com \ + --web-protocol http \ --intranet false \ --install-epel true \ --close-firewall true \ diff --git a/mkdocs.yml b/mkdocs.yml index b1285b6..0ab902c 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,5 +1,5 @@ site_name: LinuxMirrors -repo_name: 主要托管仓库 +repo_name: SuperManito/LinuxMirrors repo_url: https://github.com/SuperManito/LinuxMirrors edit_uri: edit/main/docs/ copyright: Copyright © 2021 - 2023 SuperManito