docs: simplify repository links

This commit is contained in:
KenanZhu committed 2026-11-04 12:43:48 +08:00
1 parent 877bf7ef3e
commit 4bc16feae4
5 files changed
+9 -27

No files matched your search

+2 -2
View File
@@ -2,8 +2,8 @@
AutoLibrary 北京建筑大学图书馆自动化工具的 Mintlify 文档站点。 AutoLibrary 北京建筑大学图书馆自动化工具的 Mintlify 文档站点。
- [AutoLibrary 主项目(Gitea)](https://gitea.kenanzhu.com/AutoLibrary/AutoLibrary) - [AutoLibrary 主项目](https://gitea.kenanzhu.com/AutoLibrary/AutoLibrary)
- [用户手册仓库(GitLab)](https://gitlab.com/KenanZhu/AutoLibraryManuals) - [用户手册仓库](https://gitlab.com/KenanZhu/AutoLibraryManuals)
- [文档贡献指南](CONTRIBUTING.md) - [文档贡献指南](CONTRIBUTING.md)
## 图片资源清单 ## 图片资源清单
+2 -11
View File
@@ -12,8 +12,7 @@ header .text-lg {
font-size: 1rem; font-size: 1rem;
} }
/* Repository marks for the footer's text links */ /* GitLab logo for the manual repository link */
#footer a[href="https://gitea.kenanzhu.com/AutoLibrary/AutoLibrary"]::before,
#footer a[href="https://gitlab.com/KenanZhu/AutoLibraryManuals"]::before { #footer a[href="https://gitlab.com/KenanZhu/AutoLibraryManuals"]::before {
content: ""; content: "";
display: inline-block; display: inline-block;
@@ -21,13 +20,5 @@ header .text-lg {
height: 1rem; height: 1rem;
margin-inline-end: 0.375rem; margin-inline-end: 0.375rem;
vertical-align: -0.2em; vertical-align: -0.2em;
background: var(--repository-icon) center / contain no-repeat; background: url("/images/repositories/gitlab.svg") center / contain no-repeat;
}
#footer a[href="https://gitea.kenanzhu.com/AutoLibrary/AutoLibrary"] {
--repository-icon: url("/images/repositories/gitea.svg");
}
#footer a[href="https://gitlab.com/KenanZhu/AutoLibraryManuals"] {
--repository-icon: url("/images/repositories/gitlab.svg");
} }
+1 -10
View File
@@ -172,11 +172,6 @@
"label": "项目源码", "label": "项目源码",
"href": "https://gitea.kenanzhu.com/AutoLibrary/AutoLibrary", "href": "https://gitea.kenanzhu.com/AutoLibrary/AutoLibrary",
"icon": "/images/repositories/gitea.svg" "icon": "/images/repositories/gitea.svg"
},
{
"label": "手册源码",
"href": "https://gitlab.com/KenanZhu/AutoLibraryManuals",
"icon": "/images/repositories/gitlab.svg"
} }
] ]
}, },
@@ -194,11 +189,7 @@
"header": "代码仓库", "header": "代码仓库",
"items": [ "items": [
{ {
"label": "AutoLibrary(Gitea)", "label": "用户手册",
"href": "https://gitea.kenanzhu.com/AutoLibrary/AutoLibrary"
},
{
"label": "用户手册(GitLab)",
"href": "https://gitlab.com/KenanZhu/AutoLibraryManuals" "href": "https://gitlab.com/KenanZhu/AutoLibraryManuals"
} }
] ]
+2 -2
View File
@@ -9,7 +9,7 @@ description: "AutoLibrary 的相关链接,以及快速获取联系我们的方
<CardGroup cols={2}> <CardGroup cols={2}>
<Card <Card
title="AutoLibrary 主项目(Gitea)" title="AutoLibrary 主项目"
icon="/images/repositories/gitea.svg" icon="/images/repositories/gitea.svg"
href="https://gitea.kenanzhu.com/AutoLibrary/AutoLibrary" href="https://gitea.kenanzhu.com/AutoLibrary/AutoLibrary"
> >
@@ -30,7 +30,7 @@ description: "AutoLibrary 的相关链接,以及快速获取联系我们的方
查看各版本更新内容与修复记录。 查看各版本更新内容与修复记录。
</Card> </Card>
<Card <Card
title="用户手册(GitLab)" title="用户手册"
icon="/images/repositories/gitlab.svg" icon="/images/repositories/gitlab.svg"
href="https://gitlab.com/KenanZhu/AutoLibraryManuals" href="https://gitlab.com/KenanZhu/AutoLibraryManuals"
> >
+2 -2
View File
@@ -9,14 +9,14 @@ description: "AutoLibrary 的相关链接,以及快速获取联系我们的方
<CardGroup cols={2}> <CardGroup cols={2}>
<Card <Card
title="AutoLibrary 主项目(Gitea)" title="AutoLibrary 主项目"
icon="/images/repositories/gitea.svg" icon="/images/repositories/gitea.svg"
href="https://gitea.kenanzhu.com/AutoLibrary/AutoLibrary" href="https://gitea.kenanzhu.com/AutoLibrary/AutoLibrary"
> >
查看 AutoLibrary 源码和开发进展。 查看 AutoLibrary 源码和开发进展。
</Card> </Card>
<Card <Card
title="用户手册(GitLab)" title="用户手册"
icon="/images/repositories/gitlab.svg" icon="/images/repositories/gitlab.svg"
href="https://gitlab.com/KenanZhu/AutoLibraryManuals" href="https://gitlab.com/KenanZhu/AutoLibraryManuals"
> >