From dff07e639ac53de271c637dbff192951bc7b4bf9 Mon Sep 17 00:00:00 2001 From: bingling-sama Date: Sat, 24 Feb 2024 13:48:11 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=84=20refactor(data):=20use=20json=20d?= =?UTF-8?q?ata?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit dont use `.ts` file to handle data --- .markdownlint.json | 3 +- docs/.vitepress/data/members.json | 85 ++++++++++++++++++++++++++++++ docs/.vitepress/data/members.ts | 87 ------------------------------- docs/contribute/contributors.md | 10 +--- 4 files changed, 88 insertions(+), 97 deletions(-) create mode 100644 docs/.vitepress/data/members.json delete mode 100644 docs/.vitepress/data/members.ts diff --git a/.markdownlint.json b/.markdownlint.json index 0d2060e5..7559cd85 100644 --- a/.markdownlint.json +++ b/.markdownlint.json @@ -1,4 +1,5 @@ { "default": true, - "MD033": false + "MD033": false, + "MD041": false } \ No newline at end of file diff --git a/docs/.vitepress/data/members.json b/docs/.vitepress/data/members.json new file mode 100644 index 00000000..2062386e --- /dev/null +++ b/docs/.vitepress/data/members.json @@ -0,0 +1,85 @@ +[ + { + "avatar": "https://cdn.crashmc.com/https://github.com/Pigeon0v0.png", + "name": "Pigeon0v0", + "title": "创建者", + "links": [{ "icon": "github", "link": "https://github.com/Pigeon0v0" }] + }, + { + "avatar": "https://cdn.crashmc.com/https://github.com/HRxiaohu.png", + "name": "HRxiaohu", + "title": "开发者", + "links": [{ "icon": "github", "link": "https://github.com/HRxiaohu" }] + }, + { + "avatar": "https://cdn.crashmc.com/https://github.com/Big-Cake-jpg.png", + "name": "Big_Cake", + "title": "开发者", + "links": [{ "icon": "github", "link": "https://github.com/Big-Cake-jpg" }] + }, + { + "avatar": "https://cdn.crashmc.com/https://github.com/bingling-sama.png", + "name": "bingling-sama", + "title": "开发者 | 文档贡献者", + "links": [{ "icon": "github", "link": "https://github.com/bingling-sama" }] + }, + { + "avatar": "https://cravatar.cn/avatar/8DB351BF50CF41289B1C5C5D726C55D3?s=256", + "name": "神秘人士", + "title": "文档格式化" + }, + { + "avatar": "https://cdn.crashmc.com/https://github.com/2623684696.png", + "name": "233355607", + "title": "域名管理", + "links": [{ "icon": "github", "link": "https://github.com/2623684696" }] + }, + { + "avatar": "https://cdn.crashmc.com/https://github.com/bingxin666.png", + "name": "bingxin666", + "title": "文档贡献者", + "links": [{ "icon": "github", "link": "https://github.com/bingxin666" }] + }, + { + "avatar": "https://cdn.crashmc.com/https://github.com/Rovniced.png", + "name": "Enlysure", + "title": "文档贡献者", + "links": [{ "icon": "github", "link": "https://github.com/Rovniced" }] + }, + { + "avatar": "https://cdn.crashmc.com/https://github.com/hejiehao.png", + "name": "何杰豪", + "title": "文档贡献者", + "links": [{ "icon": "github", "link": "https://github.com/hejiehao" }] + }, + { + "avatar": "https://cdn.crashmc.com/https://github.com/Seayay.png", + "name": "思遥方", + "title": "文档贡献者", + "links": [{ "icon": "github", "link": "https://github.com/Seayay" }] + }, + { + "avatar": "https://cdn.crashmc.com/https://github.com/zkitefly.png", + "name": "zkitefly", + "title": "文档贡献者", + "links": [{ "icon": "github", "link": "https://github.com/zkitefly" }] + }, + { + "avatar": "https://cdn.crashmc.com/https://github.com/ZhuRuoLing.png", + "name": "竹若泠", + "title": "文档贡献者", + "links": [{ "icon": "github", "link": "https://github.com/ZhuRuoLing" }] + }, + { + "avatar": "https://cdn.crashmc.com/https://github.com/ztsinsun.png", + "name": "Z_Tsin", + "title": "文档贡献者", + "links": [{ "icon": "github", "link": "https://github.com/ztsinsun" }] + }, + { + "avatar": "https://cdn.crashmc.com/https://github.com/LTCatt.png", + "name": "龙腾猫跃", + "title": "文档贡献者", + "links": [{ "icon": "github", "link": "https://github.com/LTCatt" }] + } +] \ No newline at end of file diff --git a/docs/.vitepress/data/members.ts b/docs/.vitepress/data/members.ts deleted file mode 100644 index 8fa60447..00000000 --- a/docs/.vitepress/data/members.ts +++ /dev/null @@ -1,87 +0,0 @@ -const members = [ - { - avatar: "https://cdn.crashmc.com/https://github.com/Pigeon0v0.png", - name: "Pigeon0v0", - title: "创建者", - links: [{ icon: "github", link: "https://github.com/Pigeon0v0" }], - }, - { - avatar: "https://cdn.crashmc.com/https://github.com/HRxiaohu.png", - name: "HRxiaohu", - title: "开发者", - links: [{ icon: "github", link: "https://github.com/HRxiaohu" }], - }, - { - avatar: "https://cdn.crashmc.com/https://github.com/Big-Cake-jpg.png", - name: "Big_Cake", - title: "开发者", - links: [{ icon: "github", link: "https://github.com/Big-Cake-jpg" }], - }, - { - avatar: "https://cdn.crashmc.com/https://github.com/bingling-sama.png", - name: "bingling-sama", - title: "开发者 | 文档贡献者", - links: [{ icon: "github", link: "https://github.com/bingling-sama" }], - }, - { - avatar: "https://cravatar.cn/avatar/8DB351BF50CF41289B1C5C5D726C55D3?s=256", - name: "神秘人士", - title: "文档格式化", - }, - { - avatar: "https://cdn.crashmc.com/https://github.com/2623684696.png", - name: "233355607", - title: "域名管理", - links: [{ icon: "github", link: "https://github.com/2623684696" }], - }, - { - avatar: "https://cdn.crashmc.com/https://github.com/bingxin666.png", - name: "bingxin666", - title: "文档贡献者", - links: [{ icon: "github", link: "https://github.com/bingxin666" }], - }, - { - avatar: "https://cdn.crashmc.com/https://github.com/Rovniced.png", - name: "Enlysure", - title: "文档贡献者", - links: [{ icon: "github", link: "https://github.com/Rovniced" }], - }, - { - avatar: "https://cdn.crashmc.com/https://github.com/hejiehao.png", - name: "何杰豪", - title: "文档贡献者", - links: [{ icon: "github", link: "https://github.com/hejiehao" }], - }, - { - avatar: "https://cdn.crashmc.com/https://github.com/Seayay.png", - name: "思遥方", - title: "文档贡献者", - links: [{ icon: "github", link: "https://github.com/Seayay" }], - }, - { - avatar: "https://cdn.crashmc.com/https://github.com/zkitefly.png", - name: "zkitefly", - title: "文档贡献者", - links: [{ icon: "github", link: "https://github.com/zkitefly" }], - }, - { - avatar: "https://cdn.crashmc.com/https://github.com/ZhuRuoLing.png", - name: "竹若泠", - title: "文档贡献者", - links: [{ icon: "github", link: "https://github.com/ZhuRuoLing" }], - }, - { - avatar: "https://cdn.crashmc.com/https://github.com/ztsinsun.png", - name: "Z_Tsin", - title: "文档贡献者", - links: [{ icon: "github", link: "https://github.com/ztsinsun" }], - }, - { - avatar: "https://cdn.crashmc.com/https://github.com/LTCatt.png", - name: "龙腾猫跃", - title: "文档贡献者", - links: [{ icon: "github", link: "https://github.com/LTCatt" }], - }, -] - -export default members diff --git a/docs/contribute/contributors.md b/docs/contribute/contributors.md index c78350ba..eb1f8b37 100644 --- a/docs/contribute/contributors.md +++ b/docs/contribute/contributors.md @@ -1,18 +1,10 @@ # 贡献者 - - 此处列出了本文档的所有贡献者,感谢他们为文档作出的贡献。