From 4e2b74af7576b766ff91487d4ff5272d6f101007 Mon Sep 17 00:00:00 2001 From: yanyongyu Date: Wed, 21 Oct 2020 00:55:23 +0800 Subject: [PATCH] :construction: add plugin store page --- docs/.vuepress/components/Plugins.vue | 28 +++++++++++++++++++++++++++ docs/.vuepress/config.js | 3 ++- docs/.vuepress/public/plugins.json | 8 ++++++++ pages/plugin-store.md | 6 ++++++ 4 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 docs/.vuepress/components/Plugins.vue create mode 100644 docs/.vuepress/public/plugins.json create mode 100644 pages/plugin-store.md diff --git a/docs/.vuepress/components/Plugins.vue b/docs/.vuepress/components/Plugins.vue new file mode 100644 index 00000000..ca97311a --- /dev/null +++ b/docs/.vuepress/components/Plugins.vue @@ -0,0 +1,28 @@ + + + + + diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index b3eb6c01..f2656b4d 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -79,7 +79,8 @@ module.exports = context => ({ nav: [ { text: "主页", link: "/" }, { text: "指南", link: "/guide/" }, - { text: "API", link: "/api/" } + { text: "API", link: "/api/" }, + { text: "插件广场", link: "/plugin-store" } ], sidebarDepth: 2, sidebar: { diff --git a/docs/.vuepress/public/plugins.json b/docs/.vuepress/public/plugins.json new file mode 100644 index 00000000..c30a4f1d --- /dev/null +++ b/docs/.vuepress/public/plugins.json @@ -0,0 +1,8 @@ +[ + { + "name": "nonebot-plugin-status", + "desc": "通过戳一戳获取服务器状态", + "author": "nonebot", + "repo": "nonebot/nonebot2" + } +] diff --git a/pages/plugin-store.md b/pages/plugin-store.md new file mode 100644 index 00000000..28b142e2 --- /dev/null +++ b/pages/plugin-store.md @@ -0,0 +1,6 @@ +--- +--- + +# 插件广场 + +