From 75d68ca204171c6a44b9f61c9fd237d2f7a80fe2 Mon Sep 17 00:00:00 2001 From: Masterain Date: Mon, 9 Oct 2023 04:35:30 -0700 Subject: [PATCH] Update iconfont --- docs/.vuepress/navbar/en.ts | 8 ++++---- docs/.vuepress/navbar/zh.ts | 8 ++++---- docs/.vuepress/sidebar/en.ts | 6 +++--- docs/.vuepress/sidebar/zh.ts | 6 +++--- docs/.vuepress/theme.ts | 5 ++++- docs/en/README.md | 8 ++++---- docs/en/advanced/FAQ.md | 2 +- docs/en/advanced/Gacha-system-and-export-principal.md | 2 +- docs/en/advanced/dependency.md | 2 +- docs/en/advanced/exceptions.md | 2 +- .../get-stoken-cookie-from-the-third-party.md | 2 +- docs/en/advanced/known-issue.md | 2 +- docs/en/advanced/uninstall.md | 2 +- docs/en/community.md | 11 +++++------ docs/en/development/platform.md | 2 +- docs/en/i18n.md | 2 +- docs/en/project.md | 2 +- docs/en/quick-start.md | 2 +- docs/en/statements/bug-report.md | 2 +- docs/en/statements/privacy-notice.md | 2 +- docs/en/statements/tos.md | 2 +- docs/en/statements/update-log.md | 2 +- docs/zh/README.md | 8 ++++---- docs/zh/advanced/FAQ.md | 2 +- docs/zh/advanced/Gacha-system-and-export-principal.md | 2 +- docs/zh/advanced/dependency.md | 2 +- docs/zh/advanced/exceptions.md | 2 +- .../get-stoken-cookie-from-the-third-party.md | 2 +- docs/zh/advanced/known-issue.md | 2 +- docs/zh/advanced/uninstall.md | 2 +- docs/zh/community.md | 11 +++++------ docs/zh/development/platform.md | 2 +- docs/zh/i18n.md | 2 +- docs/zh/project.md | 2 +- docs/zh/quick-start.md | 2 +- docs/zh/statements/bug-report.md | 2 +- docs/zh/statements/privacy-notice.md | 2 +- docs/zh/statements/tos.md | 2 +- docs/zh/statements/update-log.md | 2 +- 39 files changed, 66 insertions(+), 65 deletions(-) diff --git a/docs/.vuepress/navbar/en.ts b/docs/.vuepress/navbar/en.ts index 59209cba5..5e52d1268 100644 --- a/docs/.vuepress/navbar/en.ts +++ b/docs/.vuepress/navbar/en.ts @@ -2,20 +2,20 @@ import { navbar } from "vuepress-theme-hope"; export const enNavbar = navbar([ "/en/", - { text: "Document", icon: "article", link: "/en/menu.html" }, + { text: "Document", icon: "iconfont icon-article", link: "/en/menu.html" }, { text: "Download", - icon: "install", + icon: "iconfont icon-install", link: "https://apps.microsoft.com/store/detail/snap-hutao/9PH4NXJ2JN52", }, { text: "Community", - icon: "community", + icon: "iconfont icon-community", link: "/en/community", }, { text: "Service Availability", - icon: "define", + icon: "iconfont icon-define", link: "https://status.hut.ao/" } ]); diff --git a/docs/.vuepress/navbar/zh.ts b/docs/.vuepress/navbar/zh.ts index f99847d9f..a3e5c70fe 100644 --- a/docs/.vuepress/navbar/zh.ts +++ b/docs/.vuepress/navbar/zh.ts @@ -2,20 +2,20 @@ import { navbar } from "vuepress-theme-hope"; export const zhNavbar = navbar([ "/zh/", - { text: "文档", icon: "article", link: "/zh/menu.html" }, + { text: "文档", icon: "iconfont icon-article", link: "/zh/menu.html" }, { text: "下载", - icon: "install", + icon: "iconfont icon-install", link: "https://apps.microsoft.com/store/detail/snap-hutao/9PH4NXJ2JN52", }, { text: "加入社区讨论", - icon: "community", + icon: "iconfont icon-community", link: "/zh/community", }, { text: "服务可用性", - icon: "define", + icon: "iconfont icon-define", link: "https://status.hut.ao/" } ]); diff --git a/docs/.vuepress/sidebar/en.ts b/docs/.vuepress/sidebar/en.ts index 2ad121181..3f8c0ee86 100644 --- a/docs/.vuepress/sidebar/en.ts +++ b/docs/.vuepress/sidebar/en.ts @@ -7,19 +7,19 @@ export const enSidebar = sidebar({ "i18n", "quick-start", { - icon: "read", + icon: "iconfont icon-read", text: "Features", prefix: "features/", children: "structure", }, { - icon: "advance", + icon: "iconfont icon-advance", text: "Advanced", prefix: "advanced/", children: "structure", }, { - icon: "article", + icon: "iconfont icon-article", text: "Statements", prefix: "statements/", children: "structure", diff --git a/docs/.vuepress/sidebar/zh.ts b/docs/.vuepress/sidebar/zh.ts index e16f7284c..812176dc5 100644 --- a/docs/.vuepress/sidebar/zh.ts +++ b/docs/.vuepress/sidebar/zh.ts @@ -7,19 +7,19 @@ export const zhSidebar = sidebar({ "i18n", "quick-start", { - icon: "read", + icon: "iconfont icon-read", text: "功能指南", prefix: "features/", children: "structure", }, { - icon: "advance", + icon: "iconfont icon-advance", text: "高级", prefix: "advanced/", children: "structure", }, { - icon: "article", + icon: "iconfont icon-article", text: "声明和公告", prefix: "statements/", children: "structure", diff --git a/docs/.vuepress/theme.ts b/docs/.vuepress/theme.ts index a9267cf17..e3e7ee2bf 100644 --- a/docs/.vuepress/theme.ts +++ b/docs/.vuepress/theme.ts @@ -10,7 +10,10 @@ export default hopeTheme({ url: "https://github.com/DGP-Studio", }, - iconAssets: "iconfont", + iconAssets: [ + "iconfont", + "https://at.alicdn.com/t/c/font_3861247_26iz2fk3jhq.css?spm=a313x.manage_type_myprojects.i1.9.752f3a816uOW1y&file=font_3861247_26iz2fk3jhq.css" + ], logo: "https://img.alicdn.com/imgextra/i4/1797064093/O1CN01vK3m2w1g6duwt8quS_!!1797064093.png", diff --git a/docs/en/README.md b/docs/en/README.md index 7631f7677..0cfa522d4 100644 --- a/docs/en/README.md +++ b/docs/en/README.md @@ -1,6 +1,6 @@ --- home: true -icon: home +icon: iconfont icon-home title: Home heroImage: https://img.alicdn.com/imgextra/i4/1797064093/O1CN01oaGvKE1g6dut0pICS_!!1797064093.png_.webp heroAlt: Snap Hutao @@ -26,13 +26,13 @@ highlights: bgImageDark: /images/202309/head-back2.png highlights: - title: You Control Your Data - icon: computer + icon: iconfont icon-computer details: Your data is stored in your local device, does not rely on any cloud service or third-party platform, you have freedom control your data - title: We Protect Your Data - icon: lock + icon: iconfont icon-lock details: Your data can be backed up to Snap Hutao Cloud, you never lose data when you are on a new device - title: Community Guards your Program - icon: anonymous + icon: iconfont icon-anonymous details: Snap Hutao is open-sourced on GitHub with MIT license, we welcome community members to review and contribute to our code. The software is listed in Microsoft Store, which passes Microsoft's security review - header: All-in-one Toolbox diff --git a/docs/en/advanced/FAQ.md b/docs/en/advanced/FAQ.md index cce399904..0a0bf8564 100644 --- a/docs/en/advanced/FAQ.md +++ b/docs/en/advanced/FAQ.md @@ -1,6 +1,6 @@ --- headerDepth: 2 -icon: ask +icon: iconfont icon-ask category: - FAQ order: 1 diff --git a/docs/en/advanced/Gacha-system-and-export-principal.md b/docs/en/advanced/Gacha-system-and-export-principal.md index 2c04c7c1c..ab84b31db 100644 --- a/docs/en/advanced/Gacha-system-and-export-principal.md +++ b/docs/en/advanced/Gacha-system-and-export-principal.md @@ -2,7 +2,7 @@ headerDepth: 0 category: - FAQ -icon: read +icon: iconfont icon-read order: 8 --- diff --git a/docs/en/advanced/dependency.md b/docs/en/advanced/dependency.md index 423f3d9a8..b27fddca3 100644 --- a/docs/en/advanced/dependency.md +++ b/docs/en/advanced/dependency.md @@ -1,6 +1,6 @@ --- category: [FAQ, dependency, installation] -icon: structure +icon: iconfont icon-structure order: 6 --- diff --git a/docs/en/advanced/exceptions.md b/docs/en/advanced/exceptions.md index f0e1d468f..2f93b80dc 100644 --- a/docs/en/advanced/exceptions.md +++ b/docs/en/advanced/exceptions.md @@ -1,6 +1,6 @@ --- headerDepth: 2 -icon: debug +icon: iconfont icon-warn category: [FAQ] order: 2 redirectFrom: /en/advanced/mihoyo-risk-tip.html diff --git a/docs/en/advanced/get-stoken-cookie-from-the-third-party.md b/docs/en/advanced/get-stoken-cookie-from-the-third-party.md index 22e8e1024..ada2fe953 100644 --- a/docs/en/advanced/get-stoken-cookie-from-the-third-party.md +++ b/docs/en/advanced/get-stoken-cookie-from-the-third-party.md @@ -2,7 +2,7 @@ category: - FAQ - 第三方工具 -icon: read +icon: iconfont icon-read order: 7 --- diff --git a/docs/en/advanced/known-issue.md b/docs/en/advanced/known-issue.md index 4cea9ea1c..5ea7eb431 100644 --- a/docs/en/advanced/known-issue.md +++ b/docs/en/advanced/known-issue.md @@ -1,6 +1,6 @@ --- headerDepth: 2 -icon: tool +icon: iconfont icon-tool category: - FAQ order: 3 diff --git a/docs/en/advanced/uninstall.md b/docs/en/advanced/uninstall.md index d892da95f..d5e3cea90 100644 --- a/docs/en/advanced/uninstall.md +++ b/docs/en/advanced/uninstall.md @@ -1,7 +1,7 @@ --- category: - FAQ -icon: delete +icon: iconfont icon-delete order: 9 --- diff --git a/docs/en/community.md b/docs/en/community.md index e24f235cb..d4765c287 100644 --- a/docs/en/community.md +++ b/docs/en/community.md @@ -2,7 +2,7 @@ headerDepth: 0 category: [Announcement] comment: false -icon: community +icon: iconfont icon-community order: 8 --- @@ -12,18 +12,17 @@ As open-source software, community power is an important part of the ecology of -## GitHub Discussion +## GitHub Discussion [Snap.Hutao Discussion](https://github.com/DGP-Studio/Snap.Hutao/discussions) -## QQ Group (CN) +## QQ Group (CN) - [Snap Hutao](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=DmW_LDX35YEr1CQZwjZ6x4JYP03soai2&authKey=z3PzXsuYlaPTm%2FW7TyE0o9KNz7H6LA%2BTEZ4mK2BE9%2Fcz0HhH3s1qgbydciAmrGeg&noverify=0&group_code=910780153) -- _Snap Developer Open Discussion Group_ +- [_Snap Developer Open Discussion Group_](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=XJPjE6ffuYPkZmXvujdP1ZDY2BqL8RDg&authKey=YHBYvW4KmPUpPjGwYwGduG7ZELhFIkd9QxLHuwBFmm4UvQH1ThWiv%2FKPgeckiqt4&noverify=0&group_code=982424236) - General tech talk, not Snap Hutao Project development group - The Dev group requires some basic tech knowledge - - You can join via [https://dev-group.hut.ao](https://dev-group.hut.ao) if you are interested to join -## Discord +## Discord Invite link:[https://discord.gg/Yb8bykUKp](https://discord.gg/Yb8bykaUKp) diff --git a/docs/en/development/platform.md b/docs/en/development/platform.md index 12e6e0bca..fddbc3658 100644 --- a/docs/en/development/platform.md +++ b/docs/en/development/platform.md @@ -1,6 +1,6 @@ --- category: [open source, development] -icon: vscode +icon: iconfont icon-vscode order: 1 --- diff --git a/docs/en/i18n.md b/docs/en/i18n.md index adabd57f3..d37268875 100644 --- a/docs/en/i18n.md +++ b/docs/en/i18n.md @@ -2,7 +2,7 @@ headerDepth: 0 category: [Announcement, i18n] comment: false -icon: network +icon: iconfont icon-network order: 7 --- diff --git a/docs/en/project.md b/docs/en/project.md index c9104b715..c4c1068d7 100644 --- a/docs/en/project.md +++ b/docs/en/project.md @@ -2,7 +2,7 @@ headerDepth: 0 category: [announcement, project, features] comment: false -icon: workingDirectory +icon: iconfont icon-workingDirectory order: 6 --- diff --git a/docs/en/quick-start.md b/docs/en/quick-start.md index 0b4f36e10..f0d30ca26 100644 --- a/docs/en/quick-start.md +++ b/docs/en/quick-start.md @@ -5,7 +5,7 @@ category: - Feature - Tutorial comment: false -icon: play +icon: iconfont icon-play order: 5 --- diff --git a/docs/en/statements/bug-report.md b/docs/en/statements/bug-report.md index fe09f4875..6fbf4d736 100644 --- a/docs/en/statements/bug-report.md +++ b/docs/en/statements/bug-report.md @@ -2,7 +2,7 @@ headerDepth: 0 category: - Announcement -icon: debug +icon: iconfont icon-debug comment: false order: 2 --- diff --git a/docs/en/statements/privacy-notice.md b/docs/en/statements/privacy-notice.md index 79e38710d..3819b98e6 100644 --- a/docs/en/statements/privacy-notice.md +++ b/docs/en/statements/privacy-notice.md @@ -2,7 +2,7 @@ headerDepth: 0 category: - Announcement -icon: license +icon: iconfont icon-license order: 3 --- diff --git a/docs/en/statements/tos.md b/docs/en/statements/tos.md index c41de99d9..3ae100f79 100644 --- a/docs/en/statements/tos.md +++ b/docs/en/statements/tos.md @@ -4,7 +4,7 @@ category: - Announcement comment: false editLink: false -icon: license +icon: iconfont icon-license order: 4 --- diff --git a/docs/en/statements/update-log.md b/docs/en/statements/update-log.md index e9ce2942d..d499dce49 100644 --- a/docs/en/statements/update-log.md +++ b/docs/en/statements/update-log.md @@ -1,7 +1,7 @@ --- category: - Announcement -icon: update +icon: iconfont icon-update order: 1 --- diff --git a/docs/zh/README.md b/docs/zh/README.md index c5d34b1cf..d01aa8198 100644 --- a/docs/zh/README.md +++ b/docs/zh/README.md @@ -1,6 +1,6 @@ --- home: true -icon: home +icon: iconfont icon-home title: 首页 heroImage: https://img.alicdn.com/imgextra/i4/1797064093/O1CN01oaGvKE1g6dut0pICS_!!1797064093.png_.webp heroAlt: 胡桃工具箱 @@ -26,13 +26,13 @@ highlights: bgImageDark: /images/202309/head-back2.png highlights: - title: 你的数据你掌握 - icon: computer + icon: iconfont icon-computer details: 数据储存于你的本地设备中,不依赖任何云端服务或第三方平台,自由地访问你的数据 - title: 你的数据我保护 - icon: lock + icon: iconfont icon-lock details: 数据可通过胡桃云备份至胡桃服务器,丢失设备也绝不会丢失数据 - title: 你的程序社区守望 - icon: anonymous + icon: iconfont icon-anonymous details: 程序以 MIT 协议开源于 GitHub 并欢迎社区成员的代码审查和贡献;上架微软商店由微软进行安全审查 - header: 多合一的工具箱 diff --git a/docs/zh/advanced/FAQ.md b/docs/zh/advanced/FAQ.md index 6ceb0b7a9..837ce9433 100644 --- a/docs/zh/advanced/FAQ.md +++ b/docs/zh/advanced/FAQ.md @@ -1,6 +1,6 @@ --- headerDepth: 2 -icon: ask +icon: iconfont icon-ask category: [FAQ] order: 1 redirectFrom: /advanced/FAQ.html diff --git a/docs/zh/advanced/Gacha-system-and-export-principal.md b/docs/zh/advanced/Gacha-system-and-export-principal.md index e03c4d5af..dc6f51c31 100644 --- a/docs/zh/advanced/Gacha-system-and-export-principal.md +++ b/docs/zh/advanced/Gacha-system-and-export-principal.md @@ -1,7 +1,7 @@ --- headerDepth: 0 category: [FAQ] -icon: read +icon: iconfont icon-read order: 8 redirectFrom: /advanced/Gacha-system-and-export-principal.html --- diff --git a/docs/zh/advanced/dependency.md b/docs/zh/advanced/dependency.md index 5c103efb5..b64eba81e 100644 --- a/docs/zh/advanced/dependency.md +++ b/docs/zh/advanced/dependency.md @@ -1,6 +1,6 @@ --- category: [FAQ, 依赖项, 安装] -icon: structure +icon: iconfont icon-structure order: 6 --- diff --git a/docs/zh/advanced/exceptions.md b/docs/zh/advanced/exceptions.md index d3ddb8587..94ef56827 100644 --- a/docs/zh/advanced/exceptions.md +++ b/docs/zh/advanced/exceptions.md @@ -1,6 +1,6 @@ --- headerDepth: 2 -icon: debug +icon: iconfont icon-warn category: [FAQ] order: 2 redirectFrom: diff --git a/docs/zh/advanced/get-stoken-cookie-from-the-third-party.md b/docs/zh/advanced/get-stoken-cookie-from-the-third-party.md index 5c78e6253..6f8e4c4c1 100644 --- a/docs/zh/advanced/get-stoken-cookie-from-the-third-party.md +++ b/docs/zh/advanced/get-stoken-cookie-from-the-third-party.md @@ -1,6 +1,6 @@ --- category: [FAQ, 第三方工具] -icon: read +icon: iconfont icon-read order: 7 redirectFrom: /advanced/get-stoken-cookie-from-the-third-party.html --- diff --git a/docs/zh/advanced/known-issue.md b/docs/zh/advanced/known-issue.md index c3ab27c81..8412a0a00 100644 --- a/docs/zh/advanced/known-issue.md +++ b/docs/zh/advanced/known-issue.md @@ -1,6 +1,6 @@ --- headerDepth: 2 -icon: tool +icon: iconfont icon-tool category: [FAQ] order: 3 redirectFrom: /advanced/known-issue.html diff --git a/docs/zh/advanced/uninstall.md b/docs/zh/advanced/uninstall.md index 2b0721532..9b24de5b3 100644 --- a/docs/zh/advanced/uninstall.md +++ b/docs/zh/advanced/uninstall.md @@ -1,6 +1,6 @@ --- category: [FAQ] -icon: delete +icon: iconfont icon-delete order: 9 redirectFrom: /advanced/uninstall.html --- diff --git a/docs/zh/community.md b/docs/zh/community.md index 1eafc808f..4b704ea80 100644 --- a/docs/zh/community.md +++ b/docs/zh/community.md @@ -3,7 +3,7 @@ headerDepth: 0 category: [公告] redirectFrom: /community.html comment: false -icon: community +icon: iconfont icon-community order: 8 --- @@ -13,20 +13,19 @@ order: 8 -## GitHub 讨论 +## GitHub 讨论 [Snap.Hutao Discussion](https://github.com/DGP-Studio/Snap.Hutao/discussions) -## QQ 群 +## QQ 群 > 若入群问题为最新版本号则请输入三位版本号(如 `1.2.3`)而不是四位版本号(如 `1.2.3.0`) - [Snap Hutao](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=DmW_LDX35YEr1CQZwjZ6x4JYP03soai2&authKey=z3PzXsuYlaPTm%2FW7TyE0o9KNz7H6LA%2BTEZ4mK2BE9%2Fcz0HhH3s1qgbydciAmrGeg&noverify=0&group_code=910780153) -- _Snap 开发交流群_ +- [_Snap 开发交流群_](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=XJPjE6ffuYPkZmXvujdP1ZDY2BqL8RDg&authKey=YHBYvW4KmPUpPjGwYwGduG7ZELhFIkd9QxLHuwBFmm4UvQH1ThWiv%2FKPgeckiqt4&noverify=0&group_code=982424236) - 广泛的技术交流群,并非胡桃工具箱开发群 - 开发群对申请者的技术水平有一定要求 - - 如果你有兴趣可以从[dev-group.hut.ao](https://dev-group.hut.ao)加入开发者交流群 -## Discord +## Discord 邀请链接:[https://discord.gg/Yb8bykaUKp](https://discord.gg/Yb8bykaUKp) diff --git a/docs/zh/development/platform.md b/docs/zh/development/platform.md index 91f6d8b6d..7b82df708 100644 --- a/docs/zh/development/platform.md +++ b/docs/zh/development/platform.md @@ -1,6 +1,6 @@ --- category: [开源, 开发] -icon: vscode +icon: iconfont icon-vscode order: 1 --- diff --git a/docs/zh/i18n.md b/docs/zh/i18n.md index b35855c67..18c9a9b9b 100644 --- a/docs/zh/i18n.md +++ b/docs/zh/i18n.md @@ -3,7 +3,7 @@ headerDepth: 0 category: [公告, i18n] redirectFrom: /i18n.html comment: false -icon: network +icon: iconfont icon-network order: 7 --- diff --git a/docs/zh/project.md b/docs/zh/project.md index dc9f6bb83..3567df1ab 100644 --- a/docs/zh/project.md +++ b/docs/zh/project.md @@ -3,7 +3,7 @@ headerDepth: 0 category: [公告, 项目, 功能] redirectFrom: /project.html comment: false -icon: workingDirectory +icon: iconfont icon-workingDirectory order: 6 --- diff --git a/docs/zh/quick-start.md b/docs/zh/quick-start.md index 3d2237a7b..deff41ded 100644 --- a/docs/zh/quick-start.md +++ b/docs/zh/quick-start.md @@ -4,7 +4,7 @@ externalLinkIcon: false category: [功能, 教程] redirectFrom: /quick-start.html comment: false -icon: play +icon: iconfont icon-play order: 5 --- diff --git a/docs/zh/statements/bug-report.md b/docs/zh/statements/bug-report.md index 2dcda3f51..3bb79089f 100644 --- a/docs/zh/statements/bug-report.md +++ b/docs/zh/statements/bug-report.md @@ -1,7 +1,7 @@ --- headerDepth: 0 category: [公告] -icon: debug +icon: iconfont icon-debug order: 2 comment: false redirectFrom: /statements/bug-report.html diff --git a/docs/zh/statements/privacy-notice.md b/docs/zh/statements/privacy-notice.md index 89f98fd8f..df3a37f58 100644 --- a/docs/zh/statements/privacy-notice.md +++ b/docs/zh/statements/privacy-notice.md @@ -1,7 +1,7 @@ --- headerDepth: 0 category: [公告] -icon: license +icon: iconfont icon-license order: 3 redirectFrom: /statements/privacy-notice.html comment: false diff --git a/docs/zh/statements/tos.md b/docs/zh/statements/tos.md index 5953c3baa..231c9e2c9 100644 --- a/docs/zh/statements/tos.md +++ b/docs/zh/statements/tos.md @@ -3,7 +3,7 @@ headerDepth: 0 category: [公告] comment: false editLink: false -icon: license +icon: iconfont icon-license order: 4 redirectFrom: /statements/toshtml --- diff --git a/docs/zh/statements/update-log.md b/docs/zh/statements/update-log.md index 53fd89cfa..c656d194f 100644 --- a/docs/zh/statements/update-log.md +++ b/docs/zh/statements/update-log.md @@ -1,6 +1,6 @@ --- category: [公告] -icon: update +icon: iconfont icon-update order: 1 redirectFrom: /statements/update-log.html ---