更新文档

This commit is contained in:
Super Manito
2025-04-29 17:39:55 +08:00
parent a2f37ae9f2
commit 28566be761
7 changed files with 243 additions and 203 deletions

View File

@@ -1,19 +1,13 @@
<p align="center"> <p align="center">
<a href="https://linuxmirrors.cn" target="_blank"> <a href="https://linuxmirrors.cn">
<picture> <picture>
<source media="(prefers-color-scheme: dark)" srcset="docs/assets/images/brand/dark/2.png" width="320"> <source media="(prefers-color-scheme: dark)" srcset="docs/assets/images/brand/dark/2.png" width="320">
<img src="docs/assets/images/brand/light/2.png" alt="LinuxMirrors" width="320"> <img src="docs/assets/images/brand/light/2.png" alt="LinuxMirrors" width="320">
</picture> </picture>
</a> </a>
</p> </p>
<p align="center"> <p align="center">GNU/Linux 更换系统软件源脚本及 Docker 安装脚本</p>
GNU/Linux 更换系统软件源脚本及 Docker 安装脚本 <p align="center"><strong><a href="https://linuxmirrors.cn" style="text-decoration: none;">官方网站</a></strong></p>
</p>
<p align="center">
<strong>
<a href="https://linuxmirrors.cn" style="text-decoration: none;">官方网站</a>
</strong>
</p>
<table align="center"> <table align="center">
<tr> <tr>

View File

@@ -64,13 +64,21 @@ hide:
bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/DockerInstallation.sh) bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/DockerInstallation.sh)
``` ```
=== ":simple-gitee: Gitee 码云" === ":simple-gitee: Gitee 码云 (镜像仓库)"
``` bash ``` bash
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/DockerInstallation.sh) bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/DockerInstallation.sh)
``` ```
> 实时同步、无延迟,国内网络环境下推荐使用
=== ":simple-jsdelivr: jsDelivrCDN" === ":gitcode: GitCode (镜像仓库)"
``` bash
bash <(curl -sSL https://raw.gitcode.com/gh_mirrors/li/LinuxMirrors/raw/main/DockerInstallation.sh)
```
> 本项目已加入 GitHub 加速计划同步存在1小时延迟
=== ":simple-jsdelivr: jsDelivr (CDN)"
``` bash ``` bash
bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/DockerInstallation.sh) bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/DockerInstallation.sh)

View File

@@ -6,7 +6,7 @@
--md-default-bg-color--dark: hsla(var(--md-hue), 15%, 14%, 1); --md-default-bg-color--dark: hsla(var(--md-hue), 15%, 14%, 1);
--view-transition-z-index-foreground: 999; --view-transition-z-index-foreground: 999;
--view-transition-z-index-background: 1; --view-transition-z-index-background: 1;
--hero-background-image: linear-gradient(90deg, rgb(90 90 90) 50%, rgb(90 90 90) 50%); --hero-background-image: linear-gradient(90deg, rgb(104 104 104) 50%, rgb(104 104 104) 50%);
} }
[data-md-color-scheme='slate'] { [data-md-color-scheme='slate'] {
@@ -225,14 +225,14 @@
} }
.sponsor-item-toc:hover img { .sponsor-item-toc:hover img {
filter: grayscale(0%); filter: grayscale(0%) !important;
opacity: 1; opacity: 1;
} }
[data-md-color-scheme="slate"] .sponsor-item-toc:hover img, [data-md-color-scheme="slate"] .sponsor-item-toc:hover img,
[data-md-color-scheme="slate"] .sponsor-item-toc-lighter:hover img, [data-md-color-scheme="slate"] .sponsor-item-toc-lighter:hover img,
[data-md-color-scheme="slate"] .sponsor-item-toc-darker:hover img { [data-md-color-scheme="slate"] .sponsor-item-toc-darker:hover img {
filter: grayscale(0%) brightness(1.2); filter: grayscale(0%) brightness(1.2) !important;
opacity: 1; opacity: 1;
} }

1
docs/theme/gitcode.svg vendored Normal file
View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" t="1745914066595" class="icon" viewBox="0 0 1024 1024" version="1.1" p-id="3365" width="200" height="200"><path d="M660.48 212.352c5.952-3.392 12.352-6.912 19.2-10.88l2.368 12.032c1.28 6.272 2.368 11.456 2.88 16.512 4.032 44.288 26.304 76.928 57.856 84.224 46.144 10.752 89.664-7.04 113.088-46.08 28.16-46.848 16-104.32-32-138.88C690.56 33.216 544.128 6.72 386.304 53.056 46.144 153.344-70.272 571.264 171.2 827.52c103.296 109.632 234.432 156.928 383.36 153.344 190.72-4.48 328-99.52 415.744-264.256 62.08-116.864-5.44-244.608-134.848-271.168a837.376 837.376 0 0 0-224.768-14.4c-24.96 2.432-49.28 9.792-71.424 21.76-24.768 12.8-31.872 39.488-29.12 65.92 2.56 24.064 21.056 38.528 43.008 42.176 44.288 6.912 89.088 10.88 133.76 14.592 12.928 1.088 25.984 1.28 39.04 1.344 18.752 0.192 37.376 0.384 55.68 3.392 52.032 8.576 69.888 50.816 43.136 96-6.592 10.88-14.208 21.056-22.848 30.336a259.392 259.392 0 0 1-131.392 77.76c-92.416 22.592-184.896 23.872-276.8-5.12-104.704-33.088-167.168-109.952-169.344-213.504-0.832-63.872 15.36-126.72 46.976-182.272 14.272-25.856 22.08-52.48 19.84-81.856-0.896-12.48-1.408-24.96-1.92-38.4l-1.024-22.4c10.624 2.176 21.12 4.992 31.36 8.32 40.064 16.128 79.488 23.488 122.88 11.648A222.08 222.08 0 0 1 517.76 256a188.608 188.608 0 0 0 115.648-28.288c8.64-5.056 17.344-9.92 26.944-15.36z" fill="currentColor" p-id="3366"/></svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -35,12 +35,12 @@
<a class="sponsor-item sponsor-item-toc" target="_blank" href="https://yunyoo.cc/aff/KPTJHNWM" title="云悠YUNYOO - 全球高性价比云服务器低至15.99元起"> <a class="sponsor-item sponsor-item-toc" target="_blank" href="https://yunyoo.cc/aff/KPTJHNWM" title="云悠YUNYOO - 全球高性价比云服务器低至15.99元起">
<img src="/assets/images/sponsor/yunyoo.png" alt="云悠YUNYOO" /> <img src="/assets/images/sponsor/yunyoo.png" alt="云悠YUNYOO" />
</a> </a>
<a class="sponsor-item sponsor-item-toc" target="_blank" href="https://www.shengdaoyun.com" title="圣道云 - 稳定高效云服务器低至9.9元/月起"> <a class="sponsor-item sponsor-item-toc sponsor-item-toc-darker-2" target="_blank" href="https://www.shengdaoyun.com" title="圣道云 - 稳定高效云服务器低至9.9元/月起">
<img src="/assets/images/sponsor/shengdaoyun-light.png#only-light" alt="圣道云" /> <img src="/assets/images/sponsor/shengdaoyun-light.png#only-light" alt="圣道云" style="filter: grayscale(1) invert(0.4)" />
<img src="/assets/images/sponsor/shengdaoyun-dark.png#only-dark" alt="圣道云" /> <img src="/assets/images/sponsor/shengdaoyun-dark.png#only-dark" alt="圣道云" style="filter: grayscale(1) brightness(0.8)" />
</a> </a>
<!-- <a class="sponsor-item" target="_blank" href="/sponsor/"> <!-- <a class="sponsor-item sponsor-item-toc sponsor-item-toc-darker" target="_blank" title="成为赞助商" href="/sponsor/">
<span style="font-size: 0.6rem"> <span style="font-size: 0.6rem; opacity: 0.5">
<strong>成为赞助商</strong> <strong>成为赞助商</strong>
</span> </span>
</a> --> </a> -->

View File

@@ -24,13 +24,21 @@ hide:
bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/ChangeMirrors.sh) bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/ChangeMirrors.sh)
``` ```
=== ":simple-gitee: Gitee 码云" === ":simple-gitee: Gitee 码云 (镜像仓库)"
``` bash ``` bash
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh) bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh)
``` ```
> 实时同步、无延迟,国内网络环境下推荐使用
=== ":simple-jsdelivr: jsDelivrCDN" === ":gitcode: GitCode (镜像仓库)"
``` bash
bash <(curl -sSL https://raw.gitcode.com/gh_mirrors/li/LinuxMirrors/raw/main/ChangeMirrors.sh)
```
> 本项目已加入 GitHub 加速计划同步存在1小时延迟
=== ":simple-jsdelivr: jsDelivr (CDN)"
``` bash ``` bash
bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/ChangeMirrors.sh) bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/ChangeMirrors.sh)
@@ -54,23 +62,35 @@ hide:
bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/ChangeMirrors.sh) --abroad # (1)! bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/ChangeMirrors.sh) --abroad # (1)!
``` ```
2. 通过 `--abroad` 命令选项来使用海外软件源 1. 通过 `--abroad` 命令选项来使用海外软件源
=== ":simple-gitee: Gitee 码云" === ":simple-gitee: Gitee 码云 (镜像仓库)"
``` bash ``` bash
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh) --abroad # (1)! bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh) --abroad # (1)!
``` ```
3. 通过 `--abroad` 命令选项来使用海外软件源 1. 通过 `--abroad` 命令选项来使用海外软件源
=== ":simple-jsdelivr: jsDelivrCDN" > 实时同步、无延迟,国内网络环境下推荐使用
=== ":gitcode: GitCode (镜像仓库)"
``` bash
bash <(curl -sSL https://raw.gitcode.com/gh_mirrors/li/LinuxMirrors/raw/main/ChangeMirrors.sh) --abroad # (1)!
```
1. 通过 `--abroad` 命令选项来使用海外软件源
> 本项目已加入 GitHub 加速计划同步存在1小时延迟
=== ":simple-jsdelivr: jsDelivr (CDN)"
``` bash ``` bash
bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/ChangeMirrors.sh) --abroad # (1)! bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/ChangeMirrors.sh) --abroad # (1)!
``` ```
4. 通过 `--abroad` 命令选项来使用海外软件源 1. 通过 `--abroad` 命令选项来使用海外软件源
=== ":material-library: 中国大陆教育网" === ":material-library: 中国大陆教育网"
@@ -90,23 +110,35 @@ hide:
bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/ChangeMirrors.sh) --edu # (1)! bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/ChangeMirrors.sh) --edu # (1)!
``` ```
2. 通过 `--edu` 命令选项来使用中国大陆教育单位软件源 1. 通过 `--edu` 命令选项来使用中国大陆教育单位软件源
=== ":simple-gitee: Gitee 码云" === ":simple-gitee: Gitee 码云 (镜像仓库)"
``` bash ``` bash
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh) --edu # (1)! bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh) --edu # (1)!
``` ```
3. 通过 `--edu` 命令选项来使用中国大陆教育单位软件源 1. 通过 `--edu` 命令选项来使用中国大陆教育单位软件源
=== ":simple-jsdelivr: jsDelivrCDN" > 实时同步、无延迟,国内网络环境下推荐使用
=== ":gitcode: GitCode (镜像仓库)"
``` bash
bash <(curl -sSL https://raw.gitcode.com/gh_mirrors/li/LinuxMirrors/raw/main/ChangeMirrors.sh) --edu # (1)!
```
1. 通过 `--edu` 命令选项来使用中国大陆教育单位软件源
> 本项目已加入 GitHub 加速计划同步存在1小时延迟
=== ":simple-jsdelivr: jsDelivr (CDN)"
``` bash ``` bash
bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/ChangeMirrors.sh) --edu # (1)! bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/ChangeMirrors.sh) --edu # (1)!
``` ```
4. 通过 `--edu` 命令选项来使用中国大陆教育单位软件源 1. 通过 `--edu` 命令选项来使用中国大陆教育单位软件源
选项卡分别代表脚本内置软件源类型和获取脚本途径,请在使用前检查目标镜像站是否支持您所使用的操作系统,可以在[软件源列表](../mirrors/index.md)中查看具体有哪些软件源。 选项卡分别代表脚本内置软件源类型和获取脚本途径,请在使用前检查目标镜像站是否支持您所使用的操作系统,可以在[软件源列表](../mirrors/index.md)中查看具体有哪些软件源。

View File

@@ -82,10 +82,15 @@ extra:
generator: false generator: false
homepage: https://linuxmirrors.cn homepage: https://linuxmirrors.cn
social: social:
- icon: simple/google
link: https://gitcode.com/SuperManito/LinuxMirrors
name: GitCode
- icon: simple/gitee - icon: simple/gitee
link: https://gitee.com/SuperManito/LinuxMirrors link: https://gitee.com/SuperManito/LinuxMirrors
name: Gitee
- icon: fontawesome/brands/github - icon: fontawesome/brands/github
link: https://github.com/SuperManito/LinuxMirrors link: https://github.com/SuperManito/LinuxMirrors
name: GitHub
analytics: analytics:
provider: google provider: google
property: G-WG7T40F7YP property: G-WG7T40F7YP