更新文档

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

@@ -1,172 +1,177 @@
site_name: LinuxMirrors site_name: LinuxMirrors
repo_name: LinuxMirrors repo_name: LinuxMirrors
repo_url: https://github.com/SuperManito/LinuxMirrors repo_url: https://github.com/SuperManito/LinuxMirrors
edit_uri: edit/main/docs/ edit_uri: edit/main/docs/
copyright: 'Copyright &copy; 2025 <a href="https://github.com/SuperManito" target="_blank">SuperManito</a></br>本网站由 <a href="https://www.netlify.com" target="_blank">Netlify</a> 部署并提供全球 CDN 边缘加速服务 <a href="https://www.netlify.com" target="_blank"><img height="64" width="64" src="/assets/images/icon/netlify.svg" style="vertical-align: -0.6em"></a>' copyright: 'Copyright &copy; 2025 <a href="https://github.com/SuperManito" target="_blank">SuperManito</a></br>本网站由 <a href="https://www.netlify.com" target="_blank">Netlify</a> 部署并提供全球 CDN 边缘加速服务 <a href="https://www.netlify.com" target="_blank"><img height="64" width="64" src="/assets/images/icon/netlify.svg" style="vertical-align: -0.6em"></a>'
extra_javascript: extra_javascript:
- assets/js/modules/vue.global.prod.js - assets/js/modules/vue.global.prod.js
- assets/js/modules/tdesign.min.js - assets/js/modules/tdesign.min.js
- assets/js/modules/tdesign-theme.js - assets/js/modules/tdesign-theme.js
- assets/js/useThemeTransition.js - assets/js/useThemeTransition.js
- assets/js/common.js - assets/js/common.js
- assets/js/component.js - assets/js/component.js
- assets/js/components/mirrors-table/data.js - assets/js/components/mirrors-table/data.js
- assets/js/components/mirrors-table/index.js - assets/js/components/mirrors-table/index.js
extra_css: extra_css:
- assets/css/tdesign.min.css - assets/css/tdesign.min.css
- stylesheets/extra.css - stylesheets/extra.css
theme: theme:
logo: assets/images/brand/svg/logo-light.svg logo: assets/images/brand/svg/logo-light.svg
name: material name: material
custom_dir: docs/theme custom_dir: docs/theme
language: zh language: zh
favicon: assets/favicon.ico favicon: assets/favicon.ico
font: false font: false
icon: icon:
repo: fontawesome/brands/github repo: fontawesome/brands/github
edit: material/file-document-edit-outline edit: material/file-document-edit-outline
view: material/file-eye-outline view: material/file-eye-outline
admonition: admonition:
note: octicons/tag-16 note: octicons/tag-16
abstract: octicons/checklist-16 abstract: octicons/checklist-16
info: octicons/info-16 info: octicons/info-16
tip: fontawesome/regular/lightbulb tip: fontawesome/regular/lightbulb
success: octicons/check-16 success: octicons/check-16
question: octicons/question-16 question: octicons/question-16
warning: octicons/alert-16 warning: octicons/alert-16
danger: octicons/zap-16 danger: octicons/zap-16
bug: octicons/bug-16 bug: octicons/bug-16
example: octicons/beaker-16 example: octicons/beaker-16
quote: octicons/quote-16 quote: octicons/quote-16
palette: palette:
- media: "(prefers-color-scheme)" - media: "(prefers-color-scheme)"
scheme: system scheme: system
toggle: toggle:
icon: material/brightness-auto icon: material/brightness-auto
name: 跟随系统 name: 跟随系统
- media: "(prefers-color-scheme: light)" - media: "(prefers-color-scheme: light)"
scheme: default scheme: default
primary: white primary: white
accent: blue accent: blue
toggle: toggle:
icon: octicons/sun-16 icon: octicons/sun-16
name: 亮色模式 name: 亮色模式
- media: "(prefers-color-scheme: dark)" - media: "(prefers-color-scheme: dark)"
scheme: slate scheme: slate
primary: black primary: black
accent: blue accent: blue
toggle: toggle:
icon: octicons/moon-16 icon: octicons/moon-16
name: 暗黑模式 name: 暗黑模式
features: features:
- header.autohide - header.autohide
- navigation.top - navigation.top
- navigation.tabs - navigation.tabs
- navigation.path - navigation.path
- navigation.instant - navigation.instant
- navigation.instant.progress - navigation.instant.progress
- navigation.indexes - navigation.indexes
- navigation.footer - navigation.footer
- navigation.tracking - navigation.tracking
- navigation.sections - navigation.sections
- content.tooltips - content.tooltips
- content.code.copy - content.code.copy
- content.code.annotate - content.code.annotate
- search.suggest - search.suggest
- search.highlight - search.highlight
- search.share - search.share
- announce.dismiss - announce.dismiss
extra: extra:
generator: false generator: false
homepage: https://linuxmirrors.cn homepage: https://linuxmirrors.cn
social: social:
- icon: simple/gitee - icon: simple/google
link: https://gitee.com/SuperManito/LinuxMirrors link: https://gitcode.com/SuperManito/LinuxMirrors
- icon: fontawesome/brands/github name: GitCode
link: https://github.com/SuperManito/LinuxMirrors - icon: simple/gitee
analytics: link: https://gitee.com/SuperManito/LinuxMirrors
provider: google name: Gitee
property: G-WG7T40F7YP - icon: fontawesome/brands/github
feedback: link: https://github.com/SuperManito/LinuxMirrors
title: 此页面上的内容对你有帮助吗? name: GitHub
ratings: analytics:
- icon: material/thumb-up-outline provider: google
name: This page was helpful property: G-WG7T40F7YP
data: 1 feedback:
note: >- title: 此页面上的内容对你有帮助吗?
感谢反馈! ratings:
- icon: material/thumb-down-outline - icon: material/thumb-up-outline
name: This page could be improved name: This page was helpful
data: 0 data: 1
note: >- note: >-
感谢反馈!使用<a href="https://github.com/SuperManito/LinuxMirrors/issues" target="_blank" rel="noopener">反馈表单</a></br>帮助我们改进此页面。 感谢反馈!
markdown_extensions: - icon: material/thumb-down-outline
- toc: name: This page could be improved
permalink: "#" data: 0
permalink_title: 永久链接 note: >-
toc_depth: 3 感谢反馈!使用<a href="https://github.com/SuperManito/LinuxMirrors/issues" target="_blank" rel="noopener">反馈表单</a></br>帮助我们改进此页面。
slugify: !!python/object/apply:pymdownx.slugs.slugify markdown_extensions:
kwds: - toc:
case: lower permalink: "#"
- abbr permalink_title: 永久链接
- tables toc_depth: 3
- def_list slugify: !!python/object/apply:pymdownx.slugs.slugify
- attr_list kwds:
- footnotes case: lower
- md_in_html - abbr
- admonition - tables
- pymdownx.details - def_list
- pymdownx.betterem - attr_list
- pymdownx.snippets - footnotes
- pymdownx.inlinehilite - md_in_html
- pymdownx.superfences - admonition
- pymdownx.critic - pymdownx.details
- pymdownx.caret - pymdownx.betterem
- pymdownx.keys - pymdownx.snippets
- pymdownx.mark - pymdownx.inlinehilite
- pymdownx.tilde - pymdownx.superfences
- pymdownx.tasklist: - pymdownx.critic
custom_checkbox: true - pymdownx.caret
- pymdownx.emoji: - pymdownx.keys
emoji_index: !!python/name:material.extensions.emoji.twemoji - pymdownx.mark
emoji_generator: !!python/name:material.extensions.emoji.to_svg - pymdownx.tilde
options: - pymdownx.tasklist:
custom_icons: custom_checkbox: true
- docs/theme - pymdownx.emoji:
- pymdownx.highlight: emoji_index: !!python/name:material.extensions.emoji.twemoji
anchor_linenums: true emoji_generator: !!python/name:material.extensions.emoji.to_svg
use_pygments: true options:
- pymdownx.tabbed: custom_icons:
alternate_style: true - docs/theme
slugify: !!python/object/apply:pymdownx.slugs.slugify - pymdownx.highlight:
kwds: anchor_linenums: true
case: lower use_pygments: true
- pymdownx.tasklist: - pymdownx.tabbed:
custom_checkbox: true alternate_style: true
plugins: slugify: !!python/object/apply:pymdownx.slugs.slugify
- search: kwds:
lang: en case: lower
separator: '[\s\-,:!=\[\]()"/]+|(?!\b)(?=[A-Z][a-z])|\.(?!\d)|&[lg]t;' - pymdownx.tasklist:
- tags custom_checkbox: true
- termynal plugins:
- minify: - search:
minify_js: true lang: en
minify_css: true separator: '[\s\-,:!=\[\]()"/]+|(?!\b)(?=[A-Z][a-z])|\.(?!\d)|&[lg]t;'
htmlmin_opts: - tags
remove_comments: true - termynal
cache_safe: true - minify:
js_files: minify_js: true
- assets/js/useThemeTransition.js minify_css: true
- assets/js/common.js htmlmin_opts:
- assets/js/component.js remove_comments: true
- assets/js/components/mirrors-table/data.js cache_safe: true
- assets/js/components/mirrors-table/index.js js_files:
nav: - assets/js/useThemeTransition.js
- "介绍": index.md - assets/js/common.js
- "使用方法": use/index.md - assets/js/component.js
- "软件源列表": mirrors/index.md - assets/js/components/mirrors-table/data.js
- "其它工具": other/index.md - assets/js/components/mirrors-table/index.js
- "社区": community/index.md nav:
- "赞助": sponsor/index.md - "介绍": index.md
- "使用方法": use/index.md
- "软件源列表": mirrors/index.md
- "其它工具": other/index.md
- "社区": community/index.md
- "赞助": sponsor/index.md