From 614d78b3fa5abfae2f0a4012b28726b55cced0e6 Mon Sep 17 00:00:00 2001 From: snowykami Date: Sat, 21 Sep 2024 03:12:32 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20docs:=20=E5=95=86=E5=BA=97=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E4=B8=BB=E9=A1=B5=E6=94=B9=E4=B8=BA=E6=96=B0=E7=AA=97?= =?UTF-8?q?=E5=8F=A3=EF=BC=8C=E4=BF=AE=E5=A4=8D=E6=8F=92=E4=BB=B6=E5=95=86?= =?UTF-8?q?=E5=BA=97=E4=BB=85=E8=BD=BB=E9=9B=AA=E4=B8=8D=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/components/PluginItemCard.vue | 2 +- docs/components/PluginStore.vue | 5 ++++- docs/components/ResItemCard.vue | 2 +- docs/en/dev/best_practices.md | 19 +++++++++++++++++++ docs/en/dev/comm.md | 2 +- docs/en/dev/lyfunc.md | 2 +- docs/en/dev/plugin.md | 2 +- docs/en/dev/resource.md | 2 +- docs/en/index.md | 2 +- docs/zh/dev/best_practices.md | 19 +++++++++++++++++++ docs/zh/index.md | 2 +- 11 files changed, 50 insertions(+), 9 deletions(-) create mode 100644 docs/en/dev/best_practices.md create mode 100644 docs/zh/dev/best_practices.md diff --git a/docs/components/PluginItemCard.vue b/docs/components/PluginItemCard.vue index 4687b1d8..938412aa 100644 --- a/docs/components/PluginItemCard.vue +++ b/docs/components/PluginItemCard.vue @@ -7,7 +7,7 @@
- + diff --git a/docs/components/PluginStore.vue b/docs/components/PluginStore.vue index 95ec5e84..170d788a 100644 --- a/docs/components/PluginStore.vue +++ b/docs/components/PluginStore.vue @@ -24,8 +24,11 @@ let filteredItems = computed(() => { // 插件商店Nonebot let items = ref([]) let search = ref('') -// 从官方拉取 +// 从轻雪官方拉取,添加轻雪插件属性 items.value = pluginsJson +items.value.forEach(item => { + item.is_liteyuki_plugin = true +}) //追加 fetch('https://registry.nonebot.dev/plugins.json') diff --git a/docs/components/ResItemCard.vue b/docs/components/ResItemCard.vue index c38ac5d7..65e5a0f6 100644 --- a/docs/components/ResItemCard.vue +++ b/docs/components/ResItemCard.vue @@ -4,7 +4,7 @@
{{ props.item.description }}
- + diff --git a/docs/en/dev/best_practices.md b/docs/en/dev/best_practices.md new file mode 100644 index 00000000..ee7c1866 --- /dev/null +++ b/docs/en/dev/best_practices.md @@ -0,0 +1,19 @@ +--- +title: Best Practices +order: 10 +--- + +# Best Practices + +## Bot applications +- [LiteyukiBot](https://github.com/LiteyukiStudio/LiteyukiBot): Liteyuki Official Bot +- [LiteyukiBot-TriM](https://github.com/TriM-Organization/LiteyukiBot-TriM): TriM Official Custom Liteyuki Bot +- [Liteyuki Marsho](https://git.liteyuki.icu/LiteyukiStudio/marsho-alpha): A cute cat girl bot based on Liteyuki and the github model + +## plugins +- [liteyukibot-plugin-nonebot](https://github.com/LiteyukiStudio/liteyukibot-plugin-nonebot): Liteyuki Bot NoneBot plugin, allowing Liteyuki to support NoneBot +- [nonebot-plugin-liteyukibot](https://github.com/LiteyukiStudio/nonebot-plugin-liteyukibot): NoneBot plugin, allowing NoneBot to support Liteyuki + +## Others +- [liteyuki starmap](https://starmap.liteyuki.icu): Liteyuki official star map, showing all instances of Liteyuki and their location distribution +- [TRSS_Liteyuki](https://timerainstarsky.github.io/TRSS_Liteyuki/): LiteyukiBot management script \ No newline at end of file diff --git a/docs/en/dev/comm.md b/docs/en/dev/comm.md index 9ab49557..3eac88ab 100644 --- a/docs/en/dev/comm.md +++ b/docs/en/dev/comm.md @@ -1,5 +1,5 @@ --- -title: 进程通信 +title: Process Communication order: 4 --- diff --git a/docs/en/dev/lyfunc.md b/docs/en/dev/lyfunc.md index 74626b88..0601c48c 100644 --- a/docs/en/dev/lyfunc.md +++ b/docs/en/dev/lyfunc.md @@ -1,5 +1,5 @@ --- -title: 轻雪函数 +title: Liteyuki Function order: 2 --- diff --git a/docs/en/dev/plugin.md b/docs/en/dev/plugin.md index 17fcd91e..fef2b53e 100644 --- a/docs/en/dev/plugin.md +++ b/docs/en/dev/plugin.md @@ -1,5 +1,5 @@ --- -title: 轻雪插件开发 +title: Liteyuki Plugin order: 3 --- diff --git a/docs/en/dev/resource.md b/docs/en/dev/resource.md index 7019bba8..6e29a3f5 100644 --- a/docs/en/dev/resource.md +++ b/docs/en/dev/resource.md @@ -1,5 +1,5 @@ --- -title: 资源包开发 +title: Resource Pack order: 1 --- diff --git a/docs/en/index.md b/docs/en/index.md index 7235dd96..cb3dc575 100644 --- a/docs/en/index.md +++ b/docs/en/index.md @@ -16,7 +16,7 @@ hero: link: ./store/ - theme: alt text: 🛠️ Development - link: ./dev/ + link: ./dev/guide image: light: /liteyuki.svg dark: /liteyuki-dark.svg diff --git a/docs/zh/dev/best_practices.md b/docs/zh/dev/best_practices.md new file mode 100644 index 00000000..90ca5002 --- /dev/null +++ b/docs/zh/dev/best_practices.md @@ -0,0 +1,19 @@ +--- +title: 最佳实践 +order: 10 +--- + +# 最佳实践 + +## 机器人应用 +- [LiteyukiBot](https://github.com/LiteyukiStudio/LiteyukiBot):轻雪官方机器人 +- [LiteyukiBot-TriM](https://github.com/TriM-Organization/LiteyukiBot-TriM):TriM 官方定制轻雪机器人 +- [Liteyuki Marsho](https://git.liteyuki.icu/LiteyukiStudio/marsho-alpha):基于 轻雪 和 github model 的可爱猫娘机器人 + +## 插件 +- [liteyukibot-plugin-nonebot](https://github.com/LiteyukiStudio/liteyukibot-plugin-nonebot):轻雪机器人 NoneBot 插件,让轻雪支持 NoneBot +- [nonebot-plugin-liteyukibot](https://github.com/LiteyukiStudio/nonebot-plugin-liteyukibot):NoneBot 插件,让 NoneBot 支持轻雪 + +## 其他 +- [liteyuki starmap](https://starmap.liteyuki.icu):轻雪官方星图,展示轻雪的所有实例及其位置分布 +- [TRSS_Liteyuki](https://timerainstarsky.github.io/TRSS_Liteyuki/):TRSS LiteyukiBot 管理脚本 \ No newline at end of file diff --git a/docs/zh/index.md b/docs/zh/index.md index e4f1d8ba..90a7cfdd 100644 --- a/docs/zh/index.md +++ b/docs/zh/index.md @@ -16,7 +16,7 @@ hero: link: ./store/resource - theme: alt text: 🛠️ 开发 - link: ./dev/ + link: ./dev/guide image: light: ./liteyuki.svg dark: ./liteyuki-dark.svg