diff --git a/.github/ISSUE_TEMPLATE/adapter-publish.md b/.github/ISSUE_TEMPLATE/adapter-publish.md deleted file mode 100644 index e82f8b6d..00000000 --- a/.github/ISSUE_TEMPLATE/adapter-publish.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -name: Adapter Publish -about: Publish your adapter to nonebot homepage and nb-cli -title: "Adapter: blabla 协议" -labels: Adapter -assignees: "" - ---- - -**你的协议名称:** - -example - - - -**简短描述协议:** - -Example 协议 - -**插件 import 使用的名称** - -nonebot.adapters.example - - - -**插件 install 使用的名称** - -nonebot-adapter-example - - - -**插件项目仓库/主页链接** - -nonebot/nonebot2 - - diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..3d5c6b2f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,11 @@ +blank_issues_enabled: false +contact_links: + - name: Plugin Publish + url: https://v2.nonebot.dev/store.html + about: Publish your plugin to nonebot homepage and nb-cli + - name: Adapter Publish + url: https://v2.nonebot.dev/store.html + about: Publish your adapter to nonebot homepage and nb-cli + - name: Bot Publish + url: https://v2.nonebot.dev/store.html + about: Publish your bot to nonebot homepage and nb-cli diff --git a/.github/ISSUE_TEMPLATE/plugin-publish.md b/.github/ISSUE_TEMPLATE/plugin-publish.md deleted file mode 100644 index 2504c56a..00000000 --- a/.github/ISSUE_TEMPLATE/plugin-publish.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -name: Plugin Publish -about: Publish your plugin to nonebot homepage and nb-cli -title: "Plugin: blabla 的插件" -labels: Plugin -assignees: "" - ---- - -**你的插件名称:** - -例:复读机 - -**简短描述插件功能:** - -例:复读群友的消息 - -**插件 import 使用的名称** - -nonebot_plugin_example - - - -**插件 install 使用的名称** - -nonebot-plugin-example - - - -**插件项目仓库/主页链接** - -nonebot/nonebot2 - - diff --git a/archive/2.0.0a10/sidebar.config.json b/archive/2.0.0a10/sidebar.config.json index 5c4ef15c..8906eb68 100644 --- a/archive/2.0.0a10/sidebar.config.json +++ b/archive/2.0.0a10/sidebar.config.json @@ -24,8 +24,8 @@ "link": "/api/" }, { - "text": "插件广场", - "link": "/plugin-store" + "text": "商店", + "link": "/store" }, { "text": "更新日志", @@ -63,11 +63,7 @@ "title": "协议适配", "collapsable": false, "sidebar": "auto", - "children": [ - "cqhttp-guide", - "ding-guide", - "mirai-guide" - ] + "children": ["cqhttp-guide", "ding-guide", "mirai-guide"] } ], "/advanced/": [ @@ -88,9 +84,7 @@ "title": "发布", "collapsable": false, "sidebar": "auto", - "children": [ - "publish-plugin" - ] + "children": ["publish-plugin"] } ], "/api/": [ @@ -177,4 +171,4 @@ } } } -} \ No newline at end of file +} diff --git a/archive/2.0.0a7/sidebar.config.json b/archive/2.0.0a7/sidebar.config.json index d01b84e1..1e615846 100644 --- a/archive/2.0.0a7/sidebar.config.json +++ b/archive/2.0.0a7/sidebar.config.json @@ -24,8 +24,8 @@ "link": "/api/" }, { - "text": "插件广场", - "link": "/plugin-store" + "text": "商店", + "link": "/store" }, { "text": "更新日志", @@ -77,9 +77,7 @@ "title": "发布", "collapsable": false, "sidebar": "auto", - "children": [ - "publish-plugin" - ] + "children": ["publish-plugin"] } ], "/api/": [ @@ -158,4 +156,4 @@ } } } -} \ No newline at end of file +} diff --git a/archive/2.0.0a8.post2/sidebar.config.json b/archive/2.0.0a8.post2/sidebar.config.json index 9d660a4b..0d0103e1 100644 --- a/archive/2.0.0a8.post2/sidebar.config.json +++ b/archive/2.0.0a8.post2/sidebar.config.json @@ -24,8 +24,8 @@ "link": "/api/" }, { - "text": "插件广场", - "link": "/plugin-store" + "text": "商店", + "link": "/store" }, { "text": "更新日志", @@ -63,10 +63,7 @@ "title": "协议适配", "collapsable": false, "sidebar": "auto", - "children": [ - "cqhttp-guide", - "ding-guide" - ] + "children": ["cqhttp-guide", "ding-guide"] } ], "/advanced/": [ @@ -87,9 +84,7 @@ "title": "发布", "collapsable": false, "sidebar": "auto", - "children": [ - "publish-plugin" - ] + "children": ["publish-plugin"] } ], "/api/": [ @@ -168,4 +163,4 @@ } } } -} \ No newline at end of file +} diff --git a/docs/.vuepress/components/Adapter.vue b/docs/.vuepress/components/Adapter.vue new file mode 100644 index 00000000..7cb4d3cc --- /dev/null +++ b/docs/.vuepress/components/Adapter.vue @@ -0,0 +1,221 @@ + + + diff --git a/docs/.vuepress/components/Bot.vue b/docs/.vuepress/components/Bot.vue new file mode 100644 index 00000000..f2fad299 --- /dev/null +++ b/docs/.vuepress/components/Bot.vue @@ -0,0 +1,190 @@ + + + diff --git a/docs/.vuepress/components/Plugin.vue b/docs/.vuepress/components/Plugin.vue new file mode 100644 index 00000000..7e52e108 --- /dev/null +++ b/docs/.vuepress/components/Plugin.vue @@ -0,0 +1,223 @@ + + + diff --git a/docs/.vuepress/components/Plugins.vue b/docs/.vuepress/components/Plugins.vue deleted file mode 100644 index 59e6a449..00000000 --- a/docs/.vuepress/components/Plugins.vue +++ /dev/null @@ -1,165 +0,0 @@ - - - - - - - diff --git a/docs/.vuepress/components/PublishCard.vue b/docs/.vuepress/components/PublishCard.vue new file mode 100644 index 00000000..98e15bca --- /dev/null +++ b/docs/.vuepress/components/PublishCard.vue @@ -0,0 +1,84 @@ + + + + + diff --git a/docs/.vuepress/components/Store.vue b/docs/.vuepress/components/Store.vue new file mode 100644 index 00000000..be73fe65 --- /dev/null +++ b/docs/.vuepress/components/Store.vue @@ -0,0 +1,70 @@ + + + + + + + diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 97d3ac9b..c2efeb3e 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -82,7 +82,7 @@ module.exports = context => ({ { text: "指南", link: "/guide/" }, { text: "进阶", link: "/advanced/" }, { text: "API", link: "/api/" }, - { text: "插件广场", link: "/plugin-store" }, + { text: "商店", link: "/store" }, { text: "更新日志", link: "/changelog" } ], sidebarDepth: 2, diff --git a/docs/.vuepress/public/bots.json b/docs/.vuepress/public/bots.json new file mode 100644 index 00000000..fe51488c --- /dev/null +++ b/docs/.vuepress/public/bots.json @@ -0,0 +1 @@ +[] diff --git a/pages/plugin-store.md b/pages/plugin-store.md deleted file mode 100644 index 28b142e2..00000000 --- a/pages/plugin-store.md +++ /dev/null @@ -1,6 +0,0 @@ ---- ---- - -# 插件广场 - - diff --git a/pages/store.md b/pages/store.md new file mode 100644 index 00000000..1621816a --- /dev/null +++ b/pages/store.md @@ -0,0 +1,6 @@ +--- +--- + +# 商店 + +