更新文档

This commit is contained in:
Super Manito
2026-01-04 19:59:41 +08:00
parent 30310f5508
commit e5df549381
9 changed files with 94 additions and 55 deletions
+1 -1
View File
@@ -29,4 +29,4 @@ jobs:
- run: cp -rvf ./ChangeMirrors.sh ./docs/main.sh - run: cp -rvf ./ChangeMirrors.sh ./docs/main.sh
- run: cp -rvf ./DockerInstallation.sh ./docs/docker.sh - run: cp -rvf ./DockerInstallation.sh ./docs/docker.sh
- run: cp -rvf ./DockerInstallationLite.sh ./docs/docker-lite.sh - run: cp -rvf ./DockerInstallationLite.sh ./docs/docker-lite.sh
- run: mkdocs gh-deploy --force - run: mkdocs gh-deploy --force --quiet
+1 -1
View File
@@ -1,6 +1,6 @@
2026-01-04 2026-01-04
* Added support for EndeavourOS * Added support for EndeavourOS [#30310f5](https://github.com/SuperManito/LinuxMirrors/commit/30310f5508b1943b647b54834dd60c206d9fb366)
2025-11-02 2025-11-02
+1 -1
View File
@@ -1,6 +1,6 @@
2026-01-04 2026-01-04
* 新增适配 EndeavourOS 操作系统 * 新增适配 EndeavourOS 操作系统 [#30310f5](https://github.com/SuperManito/LinuxMirrors/commit/30310f5508b1943b647b54834dd60c206d9fb366)
2025-11-02 2025-11-02
+1 -1
View File
@@ -1,6 +1,6 @@
2026-01-04 2026-01-04
* 新增適配 EndeavourOS 作業系統 * 新增適配 EndeavourOS 作業系統 [#30310f5](https://github.com/SuperManito/LinuxMirrors/commit/30310f5508b1943b647b54834dd60c206d9fb366)
2025-11-02 2025-11-02
+73 -45
View File
@@ -32,6 +32,7 @@ const mirrorsTableData = [
nix_channels: false, nix_channels: false,
raspberrypi: true, raspberrypi: true,
manjaro: true, manjaro: true,
endeavouros: false,
}, },
{ {
name: __isZhHant ? '騰訊雲' : __isEn ? 'Tencent Cloud' : '腾讯云', name: __isZhHant ? '騰訊雲' : __isEn ? 'Tencent Cloud' : '腾讯云',
@@ -65,6 +66,7 @@ const mirrorsTableData = [
nix_channels: false, nix_channels: false,
raspberrypi: false, raspberrypi: false,
manjaro: false, manjaro: false,
endeavouros: false,
}, },
{ {
name: __isZhHant ? '華為雲' : __isEn ? 'Huawei Cloud' : '华为云', name: __isZhHant ? '華為雲' : __isEn ? 'Huawei Cloud' : '华为云',
@@ -98,6 +100,7 @@ const mirrorsTableData = [
nix_channels: false, nix_channels: false,
raspberrypi: false, raspberrypi: false,
manjaro: true, manjaro: true,
endeavouros: false,
}, },
{ {
name: __isZhHant ? '移動雲' : __isEn ? 'China Mobile Cloud' : '移动云 ', name: __isZhHant ? '移動雲' : __isEn ? 'China Mobile Cloud' : '移动云 ',
@@ -131,6 +134,7 @@ const mirrorsTableData = [
nix_channels: false, nix_channels: false,
raspberrypi: false, raspberrypi: false,
manjaro: false, manjaro: false,
endeavouros: false,
}, },
{ {
name: __isZhHant ? '天翼雲' : __isEn ? 'China Telecom Cloud' : '天翼云', name: __isZhHant ? '天翼雲' : __isEn ? 'China Telecom Cloud' : '天翼云',
@@ -164,6 +168,7 @@ const mirrorsTableData = [
nix_channels: false, nix_channels: false,
raspberrypi: false, raspberrypi: false,
manjaro: false, manjaro: false,
endeavouros: false,
}, },
{ {
name: __isZhHant ? '網易' : __isEn ? 'NetEase' : '网易', name: __isZhHant ? '網易' : __isEn ? 'NetEase' : '网易',
@@ -197,6 +202,7 @@ const mirrorsTableData = [
nix_channels: false, nix_channels: false,
raspberrypi: false, raspberrypi: false,
manjaro: false, manjaro: false,
endeavouros: false,
}, },
{ {
name: __isZhHant ? '火山引擎' : __isEn ? 'Volcengine' : '火山引擎', name: __isZhHant ? '火山引擎' : __isEn ? 'Volcengine' : '火山引擎',
@@ -230,6 +236,7 @@ const mirrorsTableData = [
nix_channels: false, nix_channels: false,
raspberrypi: false, raspberrypi: false,
manjaro: false, manjaro: false,
endeavouros: false,
}, },
{ {
name: __isZhHant ? '清華大學' : __isEn ? 'Tsinghua University' : '清华大学', name: __isZhHant ? '清華大學' : __isEn ? 'Tsinghua University' : '清华大学',
@@ -263,6 +270,7 @@ const mirrorsTableData = [
nix_channels: true, nix_channels: true,
raspberrypi: true, raspberrypi: true,
manjaro: true, manjaro: true,
endeavouros: true,
}, },
{ {
name: __isZhHant ? '北京大學' : __isEn ? 'Peking University' : '北京大学', name: __isZhHant ? '北京大學' : __isEn ? 'Peking University' : '北京大学',
@@ -296,6 +304,7 @@ const mirrorsTableData = [
nix_channels: false, nix_channels: false,
raspberrypi: false, raspberrypi: false,
manjaro: true, manjaro: true,
endeavouros: false,
}, },
{ {
name: __isZhHant ? '浙江大學' : __isEn ? 'Zhejiang University' : '浙江大学', name: __isZhHant ? '浙江大學' : __isEn ? 'Zhejiang University' : '浙江大学',
@@ -329,6 +338,7 @@ const mirrorsTableData = [
nix_channels: false, nix_channels: false,
raspberrypi: false, raspberrypi: false,
manjaro: true, manjaro: true,
endeavouros: false,
}, },
{ {
name: __isZhHant ? '南京大學' : __isEn ? 'Nanjing University' : '南京大学', name: __isZhHant ? '南京大學' : __isEn ? 'Nanjing University' : '南京大学',
@@ -362,6 +372,7 @@ const mirrorsTableData = [
nix_channels: true, nix_channels: true,
raspberrypi: true, raspberrypi: true,
manjaro: true, manjaro: true,
endeavouros: true,
}, },
{ {
name: __isZhHant ? '蘭州大學' : __isEn ? 'Lanzhou University' : '兰州大学', name: __isZhHant ? '蘭州大學' : __isEn ? 'Lanzhou University' : '兰州大学',
@@ -395,6 +406,7 @@ const mirrorsTableData = [
nix_channels: false, nix_channels: false,
raspberrypi: false, raspberrypi: false,
manjaro: true, manjaro: true,
endeavouros: false,
}, },
{ {
name: __isZhHant ? '上海交通大學' : __isEn ? 'Shanghai Jiao Tong University' : '上海交通大学', name: __isZhHant ? '上海交通大學' : __isEn ? 'Shanghai Jiao Tong University' : '上海交通大学',
@@ -428,6 +440,7 @@ const mirrorsTableData = [
nix_channels: false, nix_channels: false,
raspberrypi: true, raspberrypi: true,
manjaro: true, manjaro: true,
endeavouros: true,
}, },
{ {
name: __isZhHant ? '重慶郵電大學' : __isEn ? 'Chongqing University of Posts and Telecommunications' : '重庆邮电大学', name: __isZhHant ? '重慶郵電大學' : __isEn ? 'Chongqing University of Posts and Telecommunications' : '重庆邮电大学',
@@ -461,6 +474,7 @@ const mirrorsTableData = [
nix_channels: true, nix_channels: true,
raspberrypi: true, raspberrypi: true,
manjaro: true, manjaro: true,
endeavouros: true,
}, },
{ {
name: __isZhHant ? '中國科學技術大學' : __isEn ? 'University of Science and Technology of China' : '中国科学技术大学', name: __isZhHant ? '中國科學技術大學' : __isEn ? 'University of Science and Technology of China' : '中国科学技术大学',
@@ -494,6 +508,7 @@ const mirrorsTableData = [
nix_channels: true, nix_channels: true,
raspberrypi: true, raspberrypi: true,
manjaro: true, manjaro: true,
endeavouros: false,
}, },
{ {
name: __isZhHant ? '中國科學院軟體研究所' : __isEn ? 'Institute of Software, Chinese Academy of Sciences (ISCAS)' : '中国科学院软件研究所', name: __isZhHant ? '中國科學院軟體研究所' : __isEn ? 'Institute of Software, Chinese Academy of Sciences (ISCAS)' : '中国科学院软件研究所',
@@ -527,6 +542,7 @@ const mirrorsTableData = [
nix_channels: true, nix_channels: true,
raspberrypi: true, raspberrypi: true,
manjaro: true, manjaro: true,
endeavouros: true,
}, },
] ]
@@ -544,6 +560,7 @@ const mirrorsTableColumns = [
title: 'IPv6', title: 'IPv6',
align: 'center', align: 'center',
width: '70', width: '70',
tooltip: 'IPv6 ' + (__isZhHant ? '(網際協定第6版)' : __isEn ? '(Internet Protocol version 6)' : '(网际协议第6版)'),
}, },
{ {
colKey: 'epel', colKey: 'epel',
@@ -552,24 +569,24 @@ const mirrorsTableColumns = [
width: '90', width: '90',
tooltip: 'EPEL (Extra Packages for Enterprise Linux) ' + (__isZhHant ? '是由 Fedora 組織維護的一個附加軟體包倉庫,它主要適用於除 Fedora 作業系統以外的紅帽系 Linux 發行版' : __isEn ? 'is an additional package repository maintained by the Fedora organization. It is mainly applicable to Red Hat Linux distributions other than the Fedora operating system.' : '是由 Fedora 组织维护的一个附加软件包仓库,它主要适用于除 Fedora 操作系统以外的红帽系 Linux 发行版'), tooltip: 'EPEL (Extra Packages for Enterprise Linux) ' + (__isZhHant ? '是由 Fedora 組織維護的一個附加軟體包倉庫,它主要適用於除 Fedora 作業系統以外的紅帽系 Linux 發行版' : __isEn ? 'is an additional package repository maintained by the Fedora organization. It is mainly applicable to Red Hat Linux distributions other than the Fedora operating system.' : '是由 Fedora 组织维护的一个附加软件包仓库,它主要适用于除 Fedora 操作系统以外的红帽系 Linux 发行版'),
}, },
// { {
// colKey: 'debian', colKey: 'debian',
// title: 'Debian', title: 'Debian',
// align: 'center', align: 'center',
// width: '80', width: '80',
// }, },
// { {
// colKey: 'ubuntu', colKey: 'ubuntu',
// title: 'Ubuntu', title: 'Ubuntu',
// align: 'center', align: 'center',
// width: '80', width: '80',
// }, },
// { {
// colKey: 'centos', colKey: 'centos',
// title: 'CentOS', title: 'CentOS',
// align: 'center', align: 'center',
// width: '80', width: '80',
// }, },
{ {
colKey: 'centos_stream', colKey: 'centos_stream',
title: 'CentOS Stream', title: 'CentOS Stream',
@@ -654,12 +671,12 @@ const mirrorsTableColumns = [
align: 'center', align: 'center',
width: '140', width: '140',
}, },
// { {
// colKey: 'openeuler', colKey: 'openeuler',
// title: 'openEuler', title: 'openEuler',
// align: 'center', align: 'center',
// width: '110', width: '110',
// }, },
{ {
colKey: 'anolis', colKey: 'anolis',
title: 'Anolis OS', title: 'Anolis OS',
@@ -690,8 +707,14 @@ const mirrorsTableColumns = [
align: 'center', align: 'center',
width: '80', width: '80',
}, },
{
colKey: 'endeavouros',
title: 'EndeavourOS',
align: 'center',
width: '140',
},
].map((item) => { ].map((item) => {
if (['ipv6', 'debian', 'ubuntu', 'centos', 'centos_stream', 'opensuse', 'epel', 'archlinux', 'manjaro', 'kali', 'armbian', 'deepin', 'raspberrypi', 'linuxmint', 'proxmox', 'fedora', 'rocky', 'almalinux', 'opencloudos', 'openeuler', 'anolis', 'openkylin', 'alpine', 'gentoo', 'nix_channels'].includes(item.colKey)) { if (item.colKey !== 'name') {
const labelSupported = __isZhHant ? '支持' : __isEn ? 'Supported' : '支持' const labelSupported = __isZhHant ? '支持' : __isEn ? 'Supported' : '支持'
const labelUnsupported = __isZhHant ? '不支持' : __isEn ? 'Unsupported' : '不支持' const labelUnsupported = __isZhHant ? '不支持' : __isEn ? 'Unsupported' : '不支持'
const labelIncompatible = __isZhHant ? '不兼容' : __isEn ? 'Incompatible' : '不兼容' const labelIncompatible = __isZhHant ? '不兼容' : __isEn ? 'Incompatible' : '不兼容'
@@ -742,16 +765,16 @@ const mirrorsTableFilterSelectOptions = [
{ {
group: 'Debian', group: 'Debian',
children: [ children: [
// { {
// value: 'debian', value: 'debian',
// label: 'Debian', label: 'Debian',
// iconName: 'debian.svg', iconName: 'debian.svg',
// }, },
// { {
// value: 'ubuntu', value: 'ubuntu',
// label: 'Ubuntu', label: 'Ubuntu',
// iconName: 'ubuntu.svg', iconName: 'ubuntu.svg',
// }, },
{ {
value: 'kali', value: 'kali',
label: 'Kali Linux', label: 'Kali Linux',
@@ -797,11 +820,11 @@ const mirrorsTableFilterSelectOptions = [
label: 'Fedora', label: 'Fedora',
iconName: 'fedora.ico', iconName: 'fedora.ico',
}, },
// { {
// value: 'centos', value: 'centos',
// label: 'CentOS', label: 'CentOS',
// iconName: 'centos.svg', iconName: 'centos.svg',
// }, },
{ {
value: 'centos_stream', value: 'centos_stream',
label: 'CentOS Stream', label: 'CentOS Stream',
@@ -817,11 +840,11 @@ const mirrorsTableFilterSelectOptions = [
label: 'AlmaLinux', label: 'AlmaLinux',
iconName: 'almalinux.svg', iconName: 'almalinux.svg',
}, },
// { {
// value: 'openeuler', value: 'openeuler',
// label: 'openEuler', label: 'openEuler',
// iconName: 'openeuler.ico', iconName: 'openeuler.ico',
// }, },
{ {
value: 'opencloudos', value: 'opencloudos',
label: 'OpenCloudOS', label: 'OpenCloudOS',
@@ -851,6 +874,11 @@ const mirrorsTableFilterSelectOptions = [
label: 'Manjaro', label: 'Manjaro',
iconName: 'manjaro.svg', iconName: 'manjaro.svg',
}, },
{
value: 'endeavouros',
label: 'EndeavourOS',
iconName: 'endeavouros.png',
},
], ],
}, },
{ {
@@ -68,7 +68,7 @@ ComponentSystem.register('mirrors-table', {
style="min-width: 160px; width: 230px" style="min-width: 160px; width: 230px"
@change="onFilterChange" @change="onFilterChange"
/> />
</div> </t-space>
</t-space> </t-space>
<blockquote v-if="isMobile"> <blockquote v-if="isMobile">
<p>{{ startTitle[0] }} <code>Debian</code>、<code>Ubuntu</code>、<code>CentOS</code>、<code>openEuler</code> {{ startTitle[1] }}</p> <p>{{ startTitle[0] }} <code>Debian</code>、<code>Ubuntu</code>、<code>CentOS</code>、<code>openEuler</code> {{ startTitle[1] }}</p>
@@ -83,11 +83,21 @@ ComponentSystem.register('mirrors-table', {
@data-change="dataChange" @data-change="dataChange"
@filter-change="onTableFilterChange" @filter-change="onTableFilterChange"
> >
<template #IPv6="{ col }">
<t-tooltip :content="col.tooltip">
<span>IPv6</span>
</t-tooltip>
</template>
<template #EPEL="{ col }">
<t-tooltip :content="col.tooltip">
<span>EPEL</span>
</t-tooltip>
</template>
<template v-for="col in columns" :key="col.colKey" #[col.colKey]="{ row }"> <template v-for="col in columns" :key="col.colKey" #[col.colKey]="{ row }">
<div v-if="col.colKey === 'name'"> <div v-if="col.colKey === 'name'">
<t-popup placement="bottom" :show-arrow="false"> <t-popup placement="bottom" :show-arrow="false">
<template #content> <template #content>
<t-space direction="vertical" algin="center" style="gap: 2px"> <t-space direction="vertical" align="center" style="gap: 2px">
<span>{{ row.officialName }}</span> <span>{{ row.officialName }}</span>
<a :href="row.url" target="_blank" rel="noopener noreferrer" style="color: var(--md-typeset-a-color)">{{ row.domain }}</a> <a :href="row.url" target="_blank" rel="noopener noreferrer" style="color: var(--md-typeset-a-color)">{{ row.domain }}</a>
</t-space> </t-space>
@@ -145,7 +155,8 @@ ComponentSystem.register('mirrors-table', {
}, },
created() { created() {
const allKeys = this._flattenFilterKeys(this.filterOptions) const allKeys = this._flattenFilterKeys(this.filterOptions)
this.selectedColumnFilters = allKeys.slice() const defaultHidden = new Set(['debian', 'ubuntu', 'centos', 'openeuler'])
this.selectedColumnFilters = allKeys.filter((k) => !defaultHidden.has(k))
this.selectedRowFilters = Array.isArray(this.originalData) ? this.originalData.map((r) => r.name) : [] this.selectedRowFilters = Array.isArray(this.originalData) ? this.originalData.map((r) => r.name) : []
this._debouncedUpdateColumns = debounce(this._updateColumns.bind(this), 120) this._debouncedUpdateColumns = debounce(this._updateColumns.bind(this), 120)
this._debouncedUpdateRows = debounce(this._updateRows.bind(this), 120) this._debouncedUpdateRows = debounce(this._updateRows.bind(this), 120)
+1 -1
View File
@@ -8,7 +8,7 @@ search:
### `2026-01-04` ### `2026-01-04`
* Added support for EndeavourOS * Added support for EndeavourOS [#30310f5](https://github.com/SuperManito/LinuxMirrors/commit/30310f5508b1943b647b54834dd60c206d9fb366)
### `2025-11-02` ### `2025-11-02`
+1 -1
View File
@@ -8,7 +8,7 @@ search:
### `2026-01-04` ### `2026-01-04`
* 新增适配 EndeavourOS 操作系统 * 新增适配 EndeavourOS 操作系统 [#30310f5](https://github.com/SuperManito/LinuxMirrors/commit/30310f5508b1943b647b54834dd60c206d9fb366)
### `2025-11-02` ### `2025-11-02`
+1 -1
View File
@@ -8,7 +8,7 @@ search:
### `2026-01-04` ### `2026-01-04`
* 新增適配 EndeavourOS 作業系統 * 新增適配 EndeavourOS 作業系統 [#30310f5](https://github.com/SuperManito/LinuxMirrors/commit/30310f5508b1943b647b54834dd60c206d9fb366)
### `2025-11-02` ### `2025-11-02`