更新文档

This commit is contained in:
Super Manito
2025-03-28 18:43:22 +08:00
parent 1f802d1689
commit e3fab22012
11 changed files with 642 additions and 3 deletions

2
docs/assets/css/tdesign.min.css vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,324 @@
const mirrorsTableData = [
{
name: '阿里云',
url: 'https://mirrors.aliyun.com',
domain: 'mirrors.aliyun.com',
ipv6: true,
archlinux: true,
kalilinux: true,
deepin: true,
rockylinux: 'incompatible',
almalinux: true,
epel: true,
fedora: true,
opencloudos: false,
anolis: true,
openkylin: true,
alpinelinux: true,
armbian: true,
proxmox: false,
linuxmint: true,
gentoo: true,
nix: false,
raspberry: true,
},
{
name: '腾讯云',
url: 'https://mirrors.tencent.com',
domain: 'mirrors.tencent.com',
ipv6: false,
archlinux: true,
kalilinux: true,
deepin: false,
rockylinux: true,
almalinux: true,
epel: true,
fedora: true,
opencloudos: true,
anolis: false,
openkylin: false,
alpinelinux: true,
armbian: false,
proxmox: false,
linuxmint: true,
gentoo: true,
nix: false,
raspberry: false,
},
{
name: '华为云',
url: 'https://mirrors.huaweicloud.com',
domain: 'mirrors.huaweicloud.com',
ipv6: false,
archlinux: true,
kalilinux: true,
deepin: true,
rockylinux: 'incompatible',
almalinux: true,
epel: true,
fedora: true,
opencloudos: false,
anolis: false,
openkylin: false,
alpinelinux: true,
armbian: false,
proxmox: false,
linuxmint: true,
gentoo: true,
nix: false,
raspberry: false,
},
{
name: '网易',
url: 'https://mirrors.163.com',
domain: 'mirrors.163.com',
ipv6: false,
archlinux: true,
kalilinux: false,
deepin: true,
rockylinux: true,
almalinux: false,
epel: false,
fedora: true,
opencloudos: false,
anolis: false,
openkylin: true,
alpinelinux: false,
armbian: false,
proxmox: false,
linuxmint: true,
gentoo: true,
nix: false,
raspberry: false,
},
{
name: '火山引擎',
url: 'https://developer.volcengine.com/mirror',
domain: 'mirrors.volces.com',
ipv6: false,
archlinux: false,
kalilinux: true,
deepin: true,
rockylinux: 'incompatible',
almalinux: true,
epel: true,
fedora: true,
opencloudos: false,
anolis: false,
openkylin: false,
alpinelinux: true,
armbian: false,
proxmox: false,
linuxmint: false,
gentoo: false,
nix: false,
raspberry: false,
},
{
name: '清华大学',
url: 'https://mirrors.tuna.tsinghua.edu.cn',
domain: 'mirrors.tuna.tsinghua.edu.cn',
ipv6: true,
archlinux: true,
kalilinux: true,
deepin: true,
rockylinux: false,
almalinux: false,
epel: true,
fedora: true,
opencloudos: false,
anolis: false,
openkylin: false,
alpinelinux: true,
armbian: true,
proxmox: true,
linuxmint: true,
gentoo: true,
nix: true,
raspberry: true,
},
{
name: '北京大学',
url: 'https://mirrors.pku.edu.cn/Mirrors',
domain: 'mirrors.pku.edu.cn',
ipv6: true,
archlinux: true,
kalilinux: false,
deepin: false,
rockylinux: true,
almalinux: true,
epel: true,
fedora: false,
opencloudos: false,
anolis: false,
openkylin: false,
alpinelinux: false,
armbian: false,
proxmox: false,
linuxmint: false,
gentoo: false,
nix: false,
raspberry: false,
},
{
name: '浙江大学',
url: 'https://mirrors.zju.edu.cn',
domain: 'mirrors.zju.edu.cn',
ipv6: true,
archlinux: true,
kalilinux: true,
deepin: true,
rockylinux: true,
almalinux: true,
epel: true,
fedora: true,
opencloudos: false,
anolis: true,
openkylin: false,
alpinelinux: true,
armbian: false,
proxmox: false,
linuxmint: true,
gentoo: true,
nix: false,
raspberry: false,
},
{
name: '南京大学',
url: 'https://mirrors.nju.edu.cn',
domain: 'mirrors.nju.edu.cn',
ipv6: true,
archlinux: true,
kalilinux: true,
deepin: true,
rockylinux: true,
almalinux: true,
epel: true,
fedora: true,
opencloudos: true,
anolis: true,
openkylin: true,
alpinelinux: true,
armbian: true,
proxmox: true,
linuxmint: true,
gentoo: true,
nix: true,
raspberry: true,
},
{
name: '兰州大学',
url: 'https://mirror.lzu.edu.cn',
domain: 'mirror.lzu.edu.cn',
ipv6: true,
archlinux: true,
kalilinux: true,
deepin: true,
rockylinux: true,
almalinux: true,
epel: true,
fedora: true,
opencloudos: false,
anolis: false,
openkylin: true,
alpinelinux: true,
armbian: false,
proxmox: false,
linuxmint: true,
gentoo: true,
nix: false,
raspberry: false,
},
{
name: '上海交通大学',
url: 'https://mirror.sjtu.edu.cn',
domain: 'mirror.sjtu.edu.cn',
ipv6: true,
archlinux: true,
kalilinux: true,
deepin: true,
rockylinux: true,
almalinux: true,
epel: 'incompatible',
fedora: 'incompatible',
opencloudos: true,
anolis: false,
openkylin: true,
alpinelinux: 'incompatible',
armbian: true,
proxmox: false,
linuxmint: true,
gentoo: 'incompatible',
nix: false,
raspberry: true,
},
{
name: '重庆邮电大学',
url: 'https://mirrors.cqupt.edu.cn',
domain: 'mirrors.cqupt.edu.cn',
ipv6: true,
archlinux: true,
kalilinux: true,
deepin: true,
rockylinux: false,
almalinux: true,
epel: true,
fedora: true,
opencloudos: false,
anolis: false,
openkylin: false,
alpinelinux: true,
armbian: true,
proxmox: true,
linuxmint: false,
gentoo: false,
nix: false,
raspberry: true,
},
{
name: '中国科学技术大学',
url: 'https://mirrors.ustc.edu.cn',
domain: 'mirrors.ustc.edu.cn',
ipv6: true,
archlinux: true,
kalilinux: true,
deepin: true,
rockylinux: true,
almalinux: false,
epel: true,
fedora: true,
opencloudos: false,
anolis: false,
openkylin: false,
alpinelinux: true,
armbian: true,
proxmox: true,
linuxmint: true,
gentoo: true,
nix: true,
raspberry: true,
},
{
name: '中国科学院软件研究所',
url: 'https://mirror.iscas.ac.cn',
domain: 'mirror.iscas.ac.cn',
ipv6: false,
archlinux: true,
kalilinux: true,
deepin: true,
rockylinux: true,
almalinux: true,
epel: true,
fedora: true,
opencloudos: true,
anolis: false,
openkylin: true,
alpinelinux: true,
armbian: true,
proxmox: true,
linuxmint: true,
gentoo: true,
nix: true,
raspberry: true,
},
]

View File

@@ -0,0 +1,249 @@
const appId = 'mirrors-table' // 表格容器ID
let appInstance = null // 缓存表格容器引用
let vueApp = null // Vue 应用实例
let isInitializing = false // 是否正在初始化
let lastInitTime = 0 // 上次初始化时间
const INIT_COOLDOWN = 1000 // 初始化冷却时间(毫秒)
// 更新表格主题
function updateTableTheme() {
const scheme = document.querySelector('[data-md-color-scheme]')?.getAttribute('data-md-color-scheme')
const isDarkMode = scheme === 'slate' || scheme === 'dark'
// 设置 TDesign 的主题模式
if (isDarkMode) {
document.documentElement.setAttribute('theme-mode', 'dark')
} else {
document.documentElement.removeAttribute('theme-mode')
}
}
// 初始化表格的函数
function initTables() {
// 如果正在初始化或者距离上次初始化时间太短,则跳过
const now = Date.now()
if (isInitializing || now - lastInitTime < INIT_COOLDOWN) {
return
}
// 使用缓存的引用,如果没有则查询
if (!appInstance) {
appInstance = document.getElementById(appId)
}
// 如果找不到容器,不执行后续操作
if (!appInstance) {
return
}
// 如果表格已经初始化过且DOM没有变化则跳过
if (appInstance.hasAttribute('data-initialized')) {
return
}
// console.log('找到表格容器,初始化表格')
isInitializing = true
lastInitTime = now
try {
// 清空容器内容,防止重复初始化
while (appInstance.firstChild) {
appInstance.removeChild(appInstance.firstChild)
}
// 确保容器有适当的尺寸
if (!appInstance.style.width) {
appInstance.style.width = '100%'
}
// 确保 Vue 和 TDesign 已加载
if (typeof Vue !== 'undefined' && typeof TDesign !== 'undefined') {
// 创建 Vue 应用
const App = Vue.createApp(app)
// 注册 TDesign 组件
App.use(TDesign.default)
// 挂载应用
vueApp = App.mount(appInstance)
// console.log('表格初始化成功')
// 标记表格已初始化
appInstance.setAttribute('data-initialized', 'true')
// 立即更新主题
updateTableTheme()
} else {
console.error('Vue 或 TDesign 未加载')
// 显示错误消息
const errorDiv = document.createElement('div')
errorDiv.style.padding = '20px'
errorDiv.style.color = 'red'
errorDiv.textContent = 'Vue 或 TDesign 未加载,请在 mkdocs.yml 中添加相应 CDN 链接'
appInstance.appendChild(errorDiv)
}
} catch (error) {
console.error('初始化表格时发生错误:', error)
} finally {
isInitializing = false
}
}
// 初始化
function reinitializeTable() {
appInstance = document.getElementById(appId)
if (appInstance) {
appInstance.removeAttribute('data-initialized')
setTimeout(debouncedInit, 300) // 使用更短的延迟
}
}
// 设置主题监听器
function setupThemeObserver() {
// 监听主题变化
const observer = new MutationObserver(() => {
updateTableTheme()
})
const element = document.querySelector('[data-md-color-scheme]')
if (element) {
observer.observe(element, {
attributes: true,
attributeFilter: ['data-md-color-scheme'],
})
} else {
// 如果元素不存在,等待页面加载完成后重试
setTimeout(setupThemeObserver, 1000)
}
}
// 使用防抖函数包装初始化逻辑
function debounce(func, wait) {
let timeout
return function () {
const context = this
const args = arguments
clearTimeout(timeout)
timeout = setTimeout(() => func.apply(context, args), wait)
}
}
// 列定义
const columns = [
{ colKey: 'name', title: '镜像站', align: 'center', width: '160', fixed: 'left' },
{ colKey: 'ipv6', title: 'IPv6', align: 'center' },
{ colKey: 'epel', title: 'EPEL', align: 'center', tooltip: 'Extra Packages for Enterprise Linux (EPEL) 是由 Fedora 组织维护的一个附加软件包仓库,它主要适用于除 Fedora 操作系统以外的红帽系 Linux 发行版。' },
{ colKey: 'archlinux', title: 'Arch Linux', align: 'center' },
{ colKey: 'kalilinux', title: 'Kali Linux', align: 'center' },
{ colKey: 'armbian', title: 'Armbian', align: 'center' },
{ colKey: 'deepin', title: 'Deepin', align: 'center' },
{ colKey: 'raspberry', title: 'Raspberry Pi OS', align: 'center', width: '130' },
{ colKey: 'linuxmint', title: 'Linux Mint', align: 'center' },
{ colKey: 'proxmox', title: 'Proxmox VE', align: 'center' },
{ colKey: 'fedora', title: 'Fedora', align: 'center' },
{ colKey: 'rockylinux', title: 'Rocky Linux', align: 'center' },
{ colKey: 'almalinux', title: 'AlmaLinux', align: 'center' },
{ colKey: 'opencloudos', title: 'OpenCloudOS', align: 'center', width: '120' },
{ colKey: 'anolis', title: 'Anolis OS', align: 'center' },
{ colKey: 'openkylin', title: 'openKylin', align: 'center' },
{ colKey: 'alpinelinux', title: 'Alpine Linux', align: 'center' },
{ colKey: 'gentoo', title: 'Gentoo', align: 'center' },
{ colKey: 'nix', title: 'NixOS', align: 'center' },
]
// 修改 app 对象的模板部分,添加自定义表头渲染
const app = {
template: `
<div>
<t-table
:columns="columns"
:data="data"
:hover="true"
row-key="name"
size="small"
>
<template v-for="col in columns" :key="col.colKey" #[col.title]>
<div v-if="col.tooltip" class="t-table__th-cell-inner">
<t-space style="gap: 4px">
{{ col.title }}
<t-tooltip :content="col.tooltip" placement="bottom" :show-arrow="false">
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24"><path fill="currentColor" d="M11.95 18q.525 0 .888-.363t.362-.887t-.362-.888t-.888-.362t-.887.363t-.363.887t.363.888t.887.362m.05 4q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9T2 12t.788-3.9t2.137-3.175T8.1 2.788T12 2t3.9.788t3.175 2.137T21.213 8.1T22 12t-.788 3.9t-2.137 3.175t-3.175 2.138T12 22m0-2q3.35 0 5.675-2.325T20 12t-2.325-5.675T12 4T6.325 6.325T4 12t2.325 5.675T12 20m.1-12.3q.625 0 1.088.4t.462 1q0 .55-.337.975t-.763.8q-.575.5-1.012 1.1t-.438 1.35q0 .35.263.588t.612.237q.375 0 .638-.25t.337-.625q.1-.525.45-.937t.75-.788q.575-.55.988-1.2t.412-1.45q0-1.275-1.037-2.087T12.1 6q-.95 0-1.812.4T8.975 7.625q-.175.3-.112.638t.337.512q.35.2.725.125t.625-.425q.275-.375.688-.575t.862-.2"/></svg>
</t-tooltip>
</t-space>
</div>
<div v-else class="t-table__th-cell-inner">{{ col.title }}</div>
</template>
<template v-for="col in columns" :key="col.colKey" #[col.colKey]="{ row }">
<template v-if="col.colKey === 'name'">
<t-popup placement="bottom" :show-arrow="false">
<template #content>
<a :href="row.url" target="_blank" style="color: var(--md-typeset-a-color)">{{ row.domain }}</a>
</template>
<a :href="row.url" target="_blank">{{ row.name }}</a>
</t-popup>
</template>
<template v-else>
<t-tag v-if="typeof row[col.colKey] === 'boolean'" :theme="row[col.colKey] ? 'success' : 'danger'" variant="light" size="small" style="background-color: transparent; height: 100%">
<template #icon>
<svg v-if="row[col.colKey]" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"><path fill="currentColor" d="M21 7L9 19l-5.5-5.5l1.41-1.41L9 16.17L19.59 5.59L21 7Z" /></svg>
<svg v-else xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" style="vertical-align: -0.2em"><path fill="currentColor" d="M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z"/></svg>
</template>
</t-tag>
<t-tag v-else theme="warning" variant="light" size="small" style="background-color: transparent">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" style="vertical-align: -0.3em"><path fill="#F6B604" d="M22.11 21.46L2.39 1.73L1.11 3l2.95 2.95A9.95 9.95 0 0 0 2 12c0 5.5 4.5 10 10 10c2.28 0 4.37-.77 6.05-2.06l2.79 2.79l1.27-1.27M12 20c-4.42 0-8-3.58-8-8c0-1.73.56-3.32 1.5-4.62L16.62 18.5A7.78 7.78 0 0 1 12 20M8.17 4.97L6.72 3.5C8.25 2.56 10.06 2 12 2c5.5 0 10 4.5 10 10c0 1.94-.56 3.75-1.5 5.28l-1.47-1.45c.62-1.14.97-2.44.97-3.83c0-4.42-3.58-8-8-8c-1.39 0-2.69.35-3.83.97Z"/></svg>
</t-tag>
</template>
</template>
</t-table>
</div>
`,
data() {
return {
columns,
data: mirrorsTableData,
}
},
}
// 防抖处理的初始化函数
const debouncedInit = debounce(initTables, 300)
// 仅在导航完成后监听URL变化
let lastUrl = location.href
const urlObserver = new MutationObserver(() => {
const url = location.href
if (url !== lastUrl) {
lastUrl = url
// 重置初始化状态
appInstance = document.getElementById(appId)
if (appInstance) {
appInstance.removeAttribute('data-initialized')
}
// 延迟初始化
setTimeout(debouncedInit, 400)
}
})
urlObserver.observe(document, { subtree: true, childList: true })
// 页面加载事件
window.addEventListener('load', function () {
debouncedInit()
// 尝试找到 MkDocs 内容容器来精确监听
const contentContainer = document.querySelector('.md-content') || document.querySelector('.md-main__inner') || document.querySelector('article') || document.body
// 只监听这个元素的子元素变化
urlObserver.observe(contentContainer, {
childList: true, // 监听子节点添加或删除
subtree: false, // 不监听所有后代变化,降低开销
attributes: false, // 不监听属性变化
})
// 监听 iframe 情况下的 hashchange 和 popstate 事件
window.addEventListener('hashchange', function () {
if (location.href !== lastUrl) {
lastUrl = location.href
appInstance = null
reinitializeTable()
}
})
window.addEventListener('popstate', function () {
if (location.href !== lastUrl) {
lastUrl = location.href
appInstance = null
reinitializeTable()
}
})
})
document.addEventListener('DOMContentLoaded', function () {
// 设置主题观察器
setupThemeObserver()
})
// MkDocs 页面切换事件
document.addEventListener('DOMContentSwitch', function () {
reinitializeTable()
})

22
docs/assets/js/tdesign.min.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -10,7 +10,9 @@ hide:
> 下方列表中的镜像站均支持 `Debian` `Ubuntu` `CentOS` `openSUSE` `openEuler` 软件源,列表根据单位性质、地理位置、名称长度进行排序,与实际速度无关 > 下方列表中的镜像站均支持 `Debian` `Ubuntu` `CentOS` `openSUSE` `openEuler` 软件源,列表根据单位性质、地理位置、名称长度进行排序,与实际速度无关
| 镜像站 | IPv6 | Arch Linux | Kali Linux | Deepin | Rocky Linux | AlmaLinux | EPEL :material-information-outline:{ title="EPEL (Extra Packages for Enterprise Linux) 是由 Fedora 组织维护的一个附加软件包仓库,它主要适用于除 Fedora 操作系统以外的红帽系 Linux 发行版" } | Fedora | OpenCloudOS | Alpine Linux | Armbian | Proxmox VE | Linux Mint | Gentoo | Anolis OS | openKylin | NixOS | Raspberry Pi OS | <div id="mirrors-table"><p>正在加载表格 <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" style="vertical-align: -0.1rem"><g stroke="currentColor"><circle cx="12" cy="12" r="9.5" fill="none" stroke-linecap="round" stroke-width="3"><animate attributeName="stroke-dasharray" calcMode="spline" dur="1.5s" keySplines="0.42,0,0.58,1;0.42,0,0.58,1;0.42,0,0.58,1" keyTimes="0;0.475;0.95;1" repeatCount="indefinite" values="0 150;42 150;42 150;42 150"/><animate attributeName="stroke-dashoffset" calcMode="spline" dur="1.5s" keySplines="0.42,0,0.58,1;0.42,0,0.58,1;0.42,0,0.58,1" keyTimes="0;0.475;0.95;1" repeatCount="indefinite" values="0;-16;-59;-59"/></circle><animateTransform attributeName="transform" dur="2s" repeatCount="indefinite" type="rotate" values="0 12 12;360 12 12"/></g></svg></p></div>
<!-- | 镜像站 | IPv6 | Arch Linux | Kali Linux | Deepin | Rocky Linux | AlmaLinux | EPEL :material-information-outline:{ title="Extra Packages for Enterprise Linux (EPEL) 是由 Fedora 组织维护的一个附加软件包仓库,它主要适用于除 Fedora 操作系统以外的红帽系 Linux 发行版。" } | Fedora | OpenCloudOS | Alpine Linux | Armbian | Proxmox VE | Linux Mint | Gentoo | Anolis OS | openKylin | NixOS | Raspberry Pi OS |
| :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: |
| [阿里云](https://mirrors.aliyun.com "mirrors.aliyun.com") | :supported: | :supported: | :supported: | :supported: | :incompatible: | :supported: | :supported: | :supported: | :unsupport: | :supported: | :supported: | :unsupport: | :supported: | :supported: | :supported: | :supported: | :unsupport: | :supported: | | [阿里云](https://mirrors.aliyun.com "mirrors.aliyun.com") | :supported: | :supported: | :supported: | :supported: | :incompatible: | :supported: | :supported: | :supported: | :unsupport: | :supported: | :supported: | :unsupport: | :supported: | :supported: | :supported: | :supported: | :unsupport: | :supported: |
| [腾讯云](https://mirrors.tencent.com "mirrors.tencent.com") | :unsupport: | :supported: | :supported: | :unsupport: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :unsupport: | :unsupport: | :supported: | :supported: | :unsupport: | :unsupport: | :unsupport: | :unsupport: | | [腾讯云](https://mirrors.tencent.com "mirrors.tencent.com") | :unsupport: | :supported: | :supported: | :unsupport: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :unsupport: | :unsupport: | :supported: | :supported: | :unsupport: | :unsupport: | :unsupport: | :unsupport: |
@@ -25,7 +27,7 @@ hide:
| [上海交通大学](https://mirror.sjtu.edu.cn "mirror.sjtu.edu.cn") | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :incompatible: | :incompatible: | :supported: | :incompatible: | :supported: | :unsupport: | :supported: | :incompatible: | :unsupport: | :supported: | :supported: | :supported: | | [上海交通大学](https://mirror.sjtu.edu.cn "mirror.sjtu.edu.cn") | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :incompatible: | :incompatible: | :supported: | :incompatible: | :supported: | :unsupport: | :supported: | :incompatible: | :unsupport: | :supported: | :supported: | :supported: |
| [重庆邮电大学](https://mirrors.cqupt.edu.cn "mirrors.cqu.edu.cn") | :supported: | :supported: | :supported: | :supported: | :unsupport: | :supported: | :supported: | :supported: | :unsupport: | :supported: | :supported: | :supported: | :unsupport: | :unsupport: | :unsupport: | :unsupport: | :supported: | :supported: | | [重庆邮电大学](https://mirrors.cqupt.edu.cn "mirrors.cqu.edu.cn") | :supported: | :supported: | :supported: | :supported: | :unsupport: | :supported: | :supported: | :supported: | :unsupport: | :supported: | :supported: | :supported: | :unsupport: | :unsupport: | :unsupport: | :unsupport: | :supported: | :supported: |
| [中国科学技术大学](https://mirrors.ustc.edu.cn "mirrors.ustc.edu.cn") | :supported: | :supported: | :supported: | :supported: | :supported: | :unsupport: | :supported: | :supported: | :unsupport: | :supported: | :supported: | :supported: | :supported: | :supported: | :unsupport: | :unsupport: | :supported: | :supported: | | [中国科学技术大学](https://mirrors.ustc.edu.cn "mirrors.ustc.edu.cn") | :supported: | :supported: | :supported: | :supported: | :supported: | :unsupport: | :supported: | :supported: | :unsupport: | :supported: | :supported: | :supported: | :supported: | :supported: | :unsupport: | :unsupport: | :supported: | :supported: |
| [中国科学院软件研究所](https://mirror.iscas.ac.cn "mirror.iscas.ac.cn") | :unsupport: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :incompatible: | :supported: | :supported: | :supported: | | [中国科学院软件研究所](https://mirror.iscas.ac.cn "mirror.iscas.ac.cn") | :unsupport: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :incompatible: | :supported: | :supported: | :supported: | -->
???+ question "使用帮助" ???+ question "使用帮助"

View File

@@ -9,6 +9,7 @@
.md-header { .md-header {
background-color: hsla(240, 9%, 75%, 0.33); background-color: hsla(240, 9%, 75%, 0.33);
backdrop-filter: blur(8px); backdrop-filter: blur(8px);
z-index: 999 !important;
} }
[data-md-color-scheme='slate'] .md-header { [data-md-color-scheme='slate'] .md-header {
@@ -136,3 +137,24 @@
display: none; display: none;
} }
} }
.t-tag .t-icon {
margin-right: 0 !important;
}
[theme-mode="dark"] .t-table {
--td-bg-color-container: hsla(var(--md-hue), 15%, 14%, 1) !important;
--td-component-border: hsla(225deg, 15%, 95%, 0.12) !important;
}
[theme-mode="dark"] .t-tag {
--td-warning-color-light: #cf6e2d48 !important;
}
.t-table--hoverable tbody tr:hover {
background-color: rgba(0, 0, 0, 0.016) !important;
}
[theme-mode="dark"] .t-table--hoverable tbody tr:hover {
background-color: rgba(240, 241, 244, 0.016) !important;
}

View File

@@ -4,7 +4,13 @@ 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> <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> <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:
- assets/js/vue.global.prod.js
- assets/js/tdesign.min.js
- assets/js/mirrors-table-data.js
- assets/js/mirrors-table.js
extra_css: extra_css:
- assets/css/tdesign.min.css
- stylesheets/extra.css - stylesheets/extra.css
theme: theme:
@@ -13,6 +19,7 @@ theme:
custom_dir: docs/theme custom_dir: docs/theme
language: zh language: zh
favicon: assets/favicon.ico favicon: assets/favicon.ico
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 File

@@ -1,3 +1,3 @@
mkdocs-material==9.6.8 mkdocs-material==9.6.9
mkdocs-glightbox==0.4.0 mkdocs-glightbox==0.4.0
mkdocs-exclude-search==0.6.6 mkdocs-exclude-search==0.6.6