更新文档

This commit is contained in:
Super Manito
2025-04-22 12:08:51 +08:00
parent 821d2bdec5
commit cf11187186
8 changed files with 973 additions and 952 deletions

View File

@@ -632,13 +632,14 @@ function run_end() {
return
fi
local sponsor_ad=(
"🔥 1Panel · Linux 面板|极简运维 ➜ https://1panel.cn \033[3;2m【广告】\033[0m"
"🔥 林枫云 · 专注独立IP高频VPSR9/i9系列定制 ➜ https://www.dkdun.cn \033[3;2m【广告】\033[0m"
"🔥 乔星欢 · 香港4核4G服务器28元起_香港500Mbps大带宽 ➜ https://www.qiaoxh.com \033[3;2m【广告】\033[0m"
"🔥 1Panel · Linux 面板|极简运维 ➜ https://1panel.cn"
"🔥 林枫云 · 专注独立IP高频VPSR9/i9系列定制 ➜ https://www.dkdun.cn"
"🔥 乔星欢 · 香港4核4G服务器28元起_香港500Mbps大带宽 ➜ https://www.qiaoxh.com"
"🔥 速拓云 · 国内高防云服务器新用户享5折优惠 ➜ https://www.sutuoyun.com"
)
echo -e "\n✨ 脚本运行完毕,更多使用教程详见官网 👉 \033[3mhttps://linuxmirrors.cn\033[0m\n"
for ad in "${sponsor_ad[@]}"; do
echo -e " ${ad}"
echo -e " ${ad} \033[3;2m【广告】\033[0m"
done
echo -e "\n\033[3;1mPowered by \033[34mLinuxMirrors\033[0m\n"
}

View File

@@ -341,13 +341,14 @@ function run_end() {
return
fi
local sponsor_ad=(
"🔥 1Panel · Linux 面板|极简运维 ➜ https://1panel.cn \033[3;2m【广告】\033[0m"
"🔥 林枫云 · 专注独立IP高频VPSR9/i9系列定制 ➜ https://www.dkdun.cn \033[3;2m【广告】\033[0m"
"🔥 乔星欢 · 香港4核4G服务器28元起_香港500Mbps大带宽 ➜ https://www.qiaoxh.com \033[3;2m【广告】\033[0m"
"🔥 1Panel · Linux 面板|极简运维 ➜ https://1panel.cn"
"🔥 林枫云 · 专注独立IP高频VPSR9/i9系列定制 ➜ https://www.dkdun.cn"
"🔥 乔星欢 · 香港4核4G服务器28元起_香港500Mbps大带宽 ➜ https://www.qiaoxh.com"
"🔥 速拓云 · 国内高防云服务器新用户享5折优惠 ➜ https://www.sutuoyun.com"
)
echo -e "\n✨ 脚本运行完毕,更多使用教程详见官网 👉 \033[3mhttps://linuxmirrors.cn\033[0m\n"
for ad in "${sponsor_ad[@]}"; do
echo -e " ${ad}"
echo -e " ${ad} \033[3;2m【广告】\033[0m"
done
echo -e "\n\033[3;1mPowered by \033[34mLinuxMirrors\033[0m\n"
}

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -14,6 +14,9 @@
<img src="/assets/images/sponsor/qiaoxh-light.svg#only-light" alt="乔星欢" style="margin-bottom: 6px" />
<img src="/assets/images/sponsor/qiaoxh-dark.svg#only-dark" alt="乔星欢" style="margin-bottom: 6px" />
</a>
<a class="sponsor-item sponsor-flex-item" target="_blank" href="https://www.sutuoyun.com" title="速拓云 - 国内高防云服务器新用户享5折优惠">
<img src="/assets/images/sponsor/sutuoyun.svg" alt="速拓云" />
</a>
<a class="sponsor-item sponsor-flex-item" target="_blank" href="https://arcadia.cool" title="一站式代码运维平台">
<img src="/assets/images/sponsor/arcadia-light.png#only-light" alt="Arcadia" />
<img src="/assets/images/sponsor/arcadia-dark.png#only-dark" alt="Arcadia" />

View File

@@ -1,288 +1,298 @@
:root {
--md-text-font: system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', 'Segoe UI', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
--md-code-font: 'SF Mono';
--md-primary-fg-color--light: hsl(0, 0%, 100%, 0.33);
--md-default-bg-color--light: #ffffff;
--md-default-bg-color--dark: hsla(var(--md-hue), 15%, 14%, 1);
--view-transition-z-index-foreground: 999;
--view-transition-z-index-background: 1;
--hero-background-image: linear-gradient(90deg, rgba(177, 177, 177, 1) 50%, rgba(177, 177, 177, 1) 50%);
}
[data-md-color-scheme='slate'] {
--hero-background-image: linear-gradient(90deg, rgba(147, 147, 147, 1) 50%, rgba(147, 147, 147, 1) 50%);
}
[data-md-color-primary=white] {
--md-typeset-a-color: #2080f0;
}
[data-md-color-scheme='slate'][data-md-color-primary=black] {
--md-typeset-a-color: #2080f0;
}
.md-typeset .admonition.tip,
.md-typeset details.tip {
border-color: #009400;
}
.md-typeset .tip>.admonition-title,
.md-typeset .tip>summary {
background-color: #0094001a;
}
[data-md-color-scheme="slate"] .md-typeset .admonition.quote,
.md-typeset details.quote {
border-color: hsla(225deg, 15%, 90%, 0.24);
}
.md-header {
background-color: hsla(240, 9%, 75%, 0.33);
-webkit-backdrop-filter: blur(8px);
backdrop-filter: blur(8px);
z-index: 999 !important;
}
[data-md-color-scheme='slate'] .md-header {
background-color: hsla(var(--md-hue), 15%, 9%, 0.33);
}
.md-tabs {
background-color: hsla(240, 9%, 75%, 0.33);
}
[data-md-color-scheme='slate'] .md-tabs {
background-color: hsla(var(--md-hue), 15%, 9%, 0.33);
}
[data-md-color-scheme="default"] .md-logo img {
content: url(/assets/images/brand/svg/logo-light.svg);
}
[data-md-color-scheme="slate"] .md-logo img {
content: url(/assets/images/brand/svg/logo-dark.svg);
}
@font-face {
font-family: 'SF Mono';
src: url('./fonts/SF-Mono-Regular.otf');
}
@keyframes heart {
0%,
40%,
80%,
100% {
transform: scale(1);
}
20%,
60% {
transform: scale(1.15);
}
}
.home-cmd pre>code {
padding-right: 3em;
}
.heart {
animation: heart 1000ms infinite;
}
.md-tabs__link {
font-size: 0.8rem !important;
font-weight: 600 !important;
}
.md-typeset {
font-size: 16px;
}
.md-typeset .emojione,
.md-typeset .gemoji,
.md-typeset .twemoji {
height: 100%;
vertical-align: -0.2em !important;
}
.md-typeset .middle {
vertical-align: -0.35em !important;
}
/* 赞助组件 */
.sponsor {
padding-top: 1rem;
margin-top: 0;
border-top: none;
}
.sponsor-toc {
margin-top: 2rem !important;
border-top: 1px solid var(--md-default-fg-color--lightest) !important;
}
.sponsor .sponsor-label {
font-size: 0.8rem;
text-align: center;
margin-bottom: 0.2rem;
color: var(--md-default-fg-color);
}
.sponsor .sponsor-wrapper {
width: 100%;
padding: 0.5rem 0;
}
.sponsor .sponsor-item {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
text-align: center;
padding: 1rem;
border-radius: 5px;
transition: background-color 0.2s;
height: 80px;
max-height: 80px;
}
.sponsor-item-toc {
margin: 0;
padding: 14px !important;
height: 66px !important;
box-sizing: border-box;
}
.sponsor .sponsor-item:hover {
background-color: var(--md-code-bg-color);
}
.sponsor .sponsor-item img {
max-width: 100%;
height: auto;
vertical-align: middle;
}
.sponsor-item-toc img {
width: 50% !important;
}
.sponsor-flex-wrapper {
display: flex;
flex-wrap: wrap;
gap: 1rem;
justify-content: center;
}
.sponsor-flex-wrapper-toc {
display: flex !important;
flex-direction: column;
gap: 8px !important;
padding: 0;
width: 100%;
}
.sponsor-flex-item {
flex: 0 1 calc(33.33% - 1rem);
min-width: 200px;
max-width: 300px;
}
.sponsor-flex-item img {
width: 60% !important;
}
@media screen and (max-width: 768px) {
.sponsor-flex-item {
flex: 0 1 calc(50% - 1rem);
min-width: 150px;
max-width: calc(50% - 1rem);
}
}
@media screen and (max-width: 480px) {
.sponsor .sponsor-item {
padding: 0;
height: 40px;
}
}
@media screen and (max-width: 768px) {
.sponsor-toc {
display: none;
}
}
/* TDesign 组件相关 */
.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;
}
/* termynal 插件 */
.termy {
padding: 65px 25px 35px !important;
}
[data-termynal] {
color: #000 !important;
background: #e6e6e6 !important;
}
[data-md-color-scheme="slate"] [data-termynal] {
color: #eeeeee !important;
background: #252a33 !important;
}
button[data-terminal-control] {
color: var(--md-typeset-a-color) !important;
}
[data-termynal]:after {
color: #585858 !important;
}
[data-md-color-scheme="slate"] [data-termynal]:after {
color: #a2a2a2 !important;
}
/* 切换主题动画 */
::view-transition-old(root),
::view-transition-new(root) {
animation: none;
mix-blend-mode: normal;
}
.dark::view-transition-old(root) {
z-index: var(--view-transition-z-index-foreground);
}
.dark::view-transition-new(root) {
z-index: var(--view-transition-z-index-background);
}
::view-transition-old(root) {
z-index: var(--view-transition-z-index-background)
}
::view-transition-new(root) {
z-index: var(--view-transition-z-index-foreground);
:root {
--md-text-font: system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', 'Segoe UI', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
--md-code-font: 'SF Mono';
--md-primary-fg-color--light: hsl(0, 0%, 100%, 0.33);
--md-default-bg-color--light: #ffffff;
--md-default-bg-color--dark: hsla(var(--md-hue), 15%, 14%, 1);
--view-transition-z-index-foreground: 999;
--view-transition-z-index-background: 1;
--hero-background-image: linear-gradient(90deg, rgb(90 90 90) 50%, rgb(90 90 90) 50%);
}
[data-md-color-scheme='slate'] {
--hero-background-image: linear-gradient(90deg, rgb(114 114 114) 50%, rgb(114 114 114) 50%);
}
[data-md-color-primary=white] {
--md-typeset-a-color: #2080f0;
}
[data-md-color-scheme='slate'][data-md-color-primary=black] {
--md-typeset-a-color: #2080f0;
}
.md-typeset .admonition.tip,
.md-typeset details.tip {
border-color: #009400;
}
.md-typeset .tip>.admonition-title,
.md-typeset .tip>summary {
background-color: #0094001a;
}
[data-md-color-scheme="slate"] .md-typeset .admonition.quote,
.md-typeset details.quote {
border-color: hsla(225deg, 15%, 90%, 0.24);
}
.md-header {
background-color: hsla(240, 9%, 75%, 0.33);
-webkit-backdrop-filter: blur(8px);
backdrop-filter: blur(8px);
z-index: 999 !important;
}
[data-md-color-scheme='slate'] .md-header {
background-color: hsla(var(--md-hue), 15%, 9%, 0.33);
}
.md-tabs {
background-color: hsla(240, 9%, 75%, 0.33);
}
[data-md-color-scheme='slate'] .md-tabs {
background-color: hsla(var(--md-hue), 15%, 9%, 0.33);
}
[data-md-color-scheme="default"] .md-logo img {
content: url(/assets/images/brand/svg/logo-light.svg);
}
[data-md-color-scheme="slate"] .md-logo img {
content: url(/assets/images/brand/svg/logo-dark.svg);
}
@media screen and (max-width: 768px) {
.md-typeset .admonition .tabbed-set {
width: calc(100vw - 3rem - 2px);
}
.md-typeset .admonition .tabbed-labels {
width: calc(100vw - 3rem - 1.2rem);
padding-left: .6rem;
}
}
@font-face {
font-family: 'SF Mono';
src: url('./fonts/SF-Mono-Regular.otf');
}
@keyframes heart {
0%,
40%,
80%,
100% {
transform: scale(1);
}
20%,
60% {
transform: scale(1.15);
}
}
.home-cmd pre>code {
padding-right: 3em;
}
.heart {
animation: heart 1000ms infinite;
}
.md-tabs__link {
font-size: 0.8rem !important;
font-weight: 600 !important;
}
.md-typeset {
font-size: 16px;
}
.md-typeset .emojione,
.md-typeset .gemoji,
.md-typeset .twemoji {
height: 100%;
vertical-align: -0.2em !important;
}
.md-typeset .middle {
vertical-align: -0.35em !important;
}
/* 赞助组件 */
.sponsor {
padding-top: 1rem;
margin-top: 0;
border-top: none;
}
.sponsor-toc {
margin-top: 2rem !important;
border-top: 1px solid var(--md-default-fg-color--lightest) !important;
}
.sponsor .sponsor-label {
font-size: 0.8rem;
text-align: center;
margin-bottom: 0.2rem;
color: var(--md-default-fg-color);
}
.sponsor .sponsor-wrapper {
width: 100%;
padding: 0.5rem 0;
}
.sponsor .sponsor-item {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
text-align: center;
padding: 1rem;
border-radius: 5px;
transition: background-color 0.2s;
height: 80px;
max-height: 80px;
}
.sponsor-item-toc {
margin: 0;
padding: 14px !important;
height: 66px !important;
box-sizing: border-box;
}
.sponsor .sponsor-item:hover {
background-color: var(--md-code-bg-color);
}
.sponsor .sponsor-item img {
max-width: 100%;
height: auto;
vertical-align: middle;
}
.sponsor-item-toc img {
width: 50% !important;
}
.sponsor-flex-wrapper {
display: flex;
flex-wrap: wrap;
gap: 1rem;
justify-content: center;
}
.sponsor-flex-wrapper-toc {
display: flex !important;
flex-direction: column;
gap: 8px !important;
padding: 0;
width: 100%;
}
.sponsor-flex-item {
flex: 0 1 calc(33.33% - 1rem);
min-width: 200px;
max-width: 300px;
}
.sponsor-flex-item img {
width: 60% !important;
}
@media screen and (max-width: 768px) {
.sponsor-flex-item {
flex: 0 1 calc(50% - 1rem);
min-width: 150px;
max-width: calc(50% - 1rem);
}
}
@media screen and (max-width: 480px) {
.sponsor .sponsor-item {
padding: 0;
height: 40px;
}
}
@media screen and (max-width: 768px) {
.sponsor-toc {
display: none;
}
}
/* TDesign 组件相关 */
.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;
}
/* termynal 插件 */
.termy {
padding: 65px 25px 35px !important;
}
[data-termynal] {
color: #000 !important;
background: #e6e6e6 !important;
}
[data-md-color-scheme="slate"] [data-termynal] {
color: #eeeeee !important;
background: #252a33 !important;
}
button[data-terminal-control] {
color: var(--md-typeset-a-color) !important;
}
[data-termynal]:after {
color: #585858 !important;
}
[data-md-color-scheme="slate"] [data-termynal]:after {
color: #a2a2a2 !important;
}
/* 切换主题动画 */
::view-transition-old(root),
::view-transition-new(root) {
animation: none;
mix-blend-mode: normal;
}
.dark::view-transition-old(root) {
z-index: var(--view-transition-z-index-foreground);
}
.dark::view-transition-new(root) {
z-index: var(--view-transition-z-index-background);
}
::view-transition-old(root) {
z-index: var(--view-transition-z-index-background)
}
::view-transition-new(root) {
z-index: var(--view-transition-z-index-foreground);
}

View File

@@ -25,9 +25,12 @@
<img src="/assets/images/sponsor/qiaoxh-light.svg#only-light" alt="乔星欢" style="width: 54% !important; margin-bottom: 6px" />
<img src="/assets/images/sponsor/qiaoxh-dark.svg#only-dark" alt="乔星欢" style="width: 54% !important; margin-bottom: 6px" />
</a>
<a class="sponsor-item sponsor-item-toc" target="_blank" href="https://www.sutuoyun.com" title="速拓云 - 国内高防云服务器新用户享5折优惠">
<img src="/assets/images/sponsor/sutuoyun.svg" alt="速拓云" />
</a>
<a class="sponsor-item sponsor-item-toc" target="_blank" href="https://arcadia.cool" title="一站式代码运维平台">
<img src="/assets/images/sponsor/arcadia-light.png#only-light" alt="Arcadia" />
<img src="/assets/images/sponsor/arcadia-dark.png#only-dark" alt="Arcadia" />
<img src="/assets/images/sponsor/arcadia-light.png#only-light" alt="Arcadia" style="margin: 0 6px" />
<img src="/assets/images/sponsor/arcadia-dark.png#only-dark" alt="Arcadia" style="margin: 0 6px" />
</a>
<!-- <a class="sponsor-item" target="_blank" href="/sponsor/">
<span style="font-size: 0.6rem">

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
mkdocs-material==9.6.11
mkdocs-glightbox==0.4.0
mkdocs-exclude-search==0.6.6
mkdocs-minify-plugin==0.8.0
mkdocs-material==9.6.12
mkdocs-glightbox==0.4.0
mkdocs-exclude-search==0.6.6
mkdocs-minify-plugin==0.8.0
termynal==0.13.0