diff --git a/docs/.vuepress/.temp/internal/clientAppEnhances.js b/docs/.vuepress/.temp/internal/clientAppEnhances.js new file mode 100644 index 0000000..9ce5486 --- /dev/null +++ b/docs/.vuepress/.temp/internal/clientAppEnhances.js @@ -0,0 +1,11 @@ +import clientAppEnhance0 from 'E:/Azide/nonebot/nonebot-bison/node_modules/@vuepress/plugin-external-link-icon/lib/client/clientAppEnhance.js' +import clientAppEnhance1 from 'E:/Azide/nonebot/nonebot-bison/node_modules/@vuepress/plugin-medium-zoom/lib/client/clientAppEnhance.js' +import clientAppEnhance2 from 'E:/Azide/nonebot/nonebot-bison/node_modules/@vuepress/plugin-theme-data/lib/client/clientAppEnhance.js' +import clientAppEnhance3 from 'E:/Azide/nonebot/nonebot-bison/node_modules/@vuepress/theme-default/lib/client/clientAppEnhance.js' + +export const clientAppEnhances = [ + clientAppEnhance0, + clientAppEnhance1, + clientAppEnhance2, + clientAppEnhance3, +] diff --git a/docs/.vuepress/.temp/internal/clientAppRootComponents.js b/docs/.vuepress/.temp/internal/clientAppRootComponents.js new file mode 100644 index 0000000..5853e99 --- /dev/null +++ b/docs/.vuepress/.temp/internal/clientAppRootComponents.js @@ -0,0 +1,5 @@ +import clientAppRootComponent0 from 'E:/Azide/nonebot/nonebot-bison/node_modules/@vuepress/plugin-back-to-top/lib/client/components/BackToTop.js' + +export const clientAppRootComponents = [ + clientAppRootComponent0, +] diff --git a/docs/.vuepress/.temp/internal/clientAppSetups.js b/docs/.vuepress/.temp/internal/clientAppSetups.js new file mode 100644 index 0000000..45f3b50 --- /dev/null +++ b/docs/.vuepress/.temp/internal/clientAppSetups.js @@ -0,0 +1,9 @@ +import clientAppSetup0 from 'E:/Azide/nonebot/nonebot-bison/node_modules/@vuepress/plugin-active-header-links/lib/client/clientAppSetup.js' +import clientAppSetup1 from 'E:/Azide/nonebot/nonebot-bison/node_modules/@vuepress/plugin-nprogress/lib/client/clientAppSetup.js' +import clientAppSetup2 from 'E:/Azide/nonebot/nonebot-bison/node_modules/@vuepress/theme-default/lib/client/clientAppSetup.js' + +export const clientAppSetups = [ + clientAppSetup0, + clientAppSetup1, + clientAppSetup2, +] diff --git a/docs/.vuepress/.temp/internal/layoutComponents.js b/docs/.vuepress/.temp/internal/layoutComponents.js new file mode 100644 index 0000000..2abe096 --- /dev/null +++ b/docs/.vuepress/.temp/internal/layoutComponents.js @@ -0,0 +1,6 @@ +import { defineAsyncComponent } from 'vue' + +export const layoutComponents = { + "404": defineAsyncComponent(() => import("E:/Azide/nonebot/nonebot-bison/node_modules/@vuepress/theme-default/lib/client/layouts/404.vue")), + "Layout": defineAsyncComponent(() => import("E:/Azide/nonebot/nonebot-bison/node_modules/@vuepress/theme-default/lib/client/layouts/Layout.vue")), +} diff --git a/docs/.vuepress/.temp/internal/pagesComponents.js b/docs/.vuepress/.temp/internal/pagesComponents.js new file mode 100644 index 0000000..e16bc2d --- /dev/null +++ b/docs/.vuepress/.temp/internal/pagesComponents.js @@ -0,0 +1,12 @@ +import { defineAsyncComponent } from 'vue' + +export const pagesComponents = { + // path: / + "v-8daa1a0e": defineAsyncComponent(() => import(/* webpackChunkName: "v-8daa1a0e" */"E:/Azide/nonebot/nonebot-bison/docs/.vuepress/.temp/pages/index.html.vue")), + // path: /dev/ + "v-7445cd33": defineAsyncComponent(() => import(/* webpackChunkName: "v-7445cd33" */"E:/Azide/nonebot/nonebot-bison/docs/.vuepress/.temp/pages/dev/index.html.vue")), + // path: /usage/ + "v-d0736a32": defineAsyncComponent(() => import(/* webpackChunkName: "v-d0736a32" */"E:/Azide/nonebot/nonebot-bison/docs/.vuepress/.temp/pages/usage/index.html.vue")), + // path: /404.html + "v-3706649a": defineAsyncComponent(() => import(/* webpackChunkName: "v-3706649a" */"E:/Azide/nonebot/nonebot-bison/docs/.vuepress/.temp/pages/404.html.vue")), +} diff --git a/docs/.vuepress/.temp/internal/pagesData.js b/docs/.vuepress/.temp/internal/pagesData.js new file mode 100644 index 0000000..1c59595 --- /dev/null +++ b/docs/.vuepress/.temp/internal/pagesData.js @@ -0,0 +1,10 @@ +export const pagesData = { + // path: / + "v-8daa1a0e": () => import(/* webpackChunkName: "v-8daa1a0e" */"E:/Azide/nonebot/nonebot-bison/docs/.vuepress/.temp/pages/index.html.js").then(({ data }) => data), + // path: /dev/ + "v-7445cd33": () => import(/* webpackChunkName: "v-7445cd33" */"E:/Azide/nonebot/nonebot-bison/docs/.vuepress/.temp/pages/dev/index.html.js").then(({ data }) => data), + // path: /usage/ + "v-d0736a32": () => import(/* webpackChunkName: "v-d0736a32" */"E:/Azide/nonebot/nonebot-bison/docs/.vuepress/.temp/pages/usage/index.html.js").then(({ data }) => data), + // path: /404.html + "v-3706649a": () => import(/* webpackChunkName: "v-3706649a" */"E:/Azide/nonebot/nonebot-bison/docs/.vuepress/.temp/pages/404.html.js").then(({ data }) => data), +} diff --git a/docs/.vuepress/.temp/internal/pagesRoutes.js b/docs/.vuepress/.temp/internal/pagesRoutes.js new file mode 100644 index 0000000..9fb3e2b --- /dev/null +++ b/docs/.vuepress/.temp/internal/pagesRoutes.js @@ -0,0 +1,33 @@ +import { Vuepress } from '@vuepress/client/lib/components/Vuepress' + +const routeItems = [ + ["v-8daa1a0e","/",{"title":""},["/index.html","/README.md"]], + ["v-7445cd33","/dev/",{"title":"开发指南"},["/dev/index.html","/dev/README.md"]], + ["v-d0736a32","/usage/",{"title":"部署和使用"},["/usage/index.html","/usage/README.md"]], + ["v-3706649a","/404.html",{"title":""},["/404"]], +] + +export const pagesRoutes = routeItems.reduce( + (result, [name, path, meta, redirects]) => { + result.push( + { + name, + path, + component: Vuepress, + meta, + }, + ...redirects.map((item) => ({ + path: item, + redirect: path, + })) + ) + return result + }, + [ + { + name: "404", + path: "/:catchAll(.*)", + component: Vuepress, + } + ] +) diff --git a/docs/.vuepress/.temp/internal/siteData.js b/docs/.vuepress/.temp/internal/siteData.js new file mode 100644 index 0000000..538a815 --- /dev/null +++ b/docs/.vuepress/.temp/internal/siteData.js @@ -0,0 +1,21 @@ +export const siteData = { + "base": "/", + "lang": "en-US", + "title": "Nonebot Bison", + "description": "Docs for Nonebot Bison", + "head": [], + "locales": {} +} + +if (import.meta.webpackHot) { + import.meta.webpackHot.accept() + if (__VUE_HMR_RUNTIME__.updateSiteData) { + __VUE_HMR_RUNTIME__.updateSiteData(siteData) + } +} + +if (import.meta.hot) { + import.meta.hot.accept(({ siteData }) => { + __VUE_HMR_RUNTIME__.updateSiteData(siteData) + }) +} diff --git a/docs/.vuepress/.temp/internal/themeData.js b/docs/.vuepress/.temp/internal/themeData.js new file mode 100644 index 0000000..7c257d1 --- /dev/null +++ b/docs/.vuepress/.temp/internal/themeData.js @@ -0,0 +1,62 @@ +export const themeData = { + "nav": [ + { + "text": "主页", + "link": "/" + }, + { + "text": "部署与使用", + "link": "/usage/" + }, + { + "text": "开发", + "link": "/dev/" + }, + { + "text": "Github", + "link": "https://github.com/felinae98/nonebot-bison" + } + ], + "locales": { + "/": { + "selectLanguageName": "English" + } + }, + "navbar": [], + "logo": null, + "darkMode": true, + "repo": null, + "selectLanguageText": "Languages", + "selectLanguageAriaLabel": "Select language", + "sidebar": "auto", + "sidebarDepth": 2, + "editLink": true, + "editLinkText": "Edit this page", + "lastUpdated": true, + "lastUpdatedText": "Last Updated", + "contributors": true, + "contributorsText": "Contributors", + "notFound": [ + "There's nothing here.", + "How did we get here?", + "That's a Four-Oh-Four.", + "Looks like we've got some broken links." + ], + "backToHome": "Take me home", + "openInNewWindow": "open in new window", + "toggleDarkMode": "toggle dark mode", + "toggleSidebar": "toggle sidebar" +} + +if (import.meta.webpackHot) { + import.meta.webpackHot.accept() + if (__VUE_HMR_RUNTIME__.updateThemeData) { + __VUE_HMR_RUNTIME__.updateThemeData(themeData) + } +} + +if (import.meta.hot) { + import.meta.hot.accept(({ themeData }) => { + __VUE_HMR_RUNTIME__.updateThemeData(themeData) + }) +} diff --git a/docs/.vuepress/.temp/pages/404.html.js b/docs/.vuepress/.temp/pages/404.html.js new file mode 100644 index 0000000..09dc53f --- /dev/null +++ b/docs/.vuepress/.temp/pages/404.html.js @@ -0,0 +1,26 @@ +export const data = { + "key": "v-3706649a", + "path": "/404.html", + "title": "", + "lang": "en-US", + "frontmatter": { + "layout": "404" + }, + "excerpt": "", + "headers": [], + "git": {}, + "filePathRelative": null +} + +if (import.meta.webpackHot) { + import.meta.webpackHot.accept() + if (__VUE_HMR_RUNTIME__.updatePageData) { + __VUE_HMR_RUNTIME__.updatePageData(data) + } +} + +if (import.meta.hot) { + import.meta.hot.accept(({ data }) => { + __VUE_HMR_RUNTIME__.updatePageData(data) + }) +} diff --git a/docs/.vuepress/.temp/pages/404.html.vue b/docs/.vuepress/.temp/pages/404.html.vue new file mode 100644 index 0000000..cc340bc --- /dev/null +++ b/docs/.vuepress/.temp/pages/404.html.vue @@ -0,0 +1 @@ + diff --git a/docs/.vuepress/.temp/pages/dev/index.html.js b/docs/.vuepress/.temp/pages/dev/index.html.js new file mode 100644 index 0000000..4281b8b --- /dev/null +++ b/docs/.vuepress/.temp/pages/dev/index.html.js @@ -0,0 +1,65 @@ +export const data = { + "key": "v-7445cd33", + "path": "/dev/", + "title": "开发指南", + "lang": "en-US", + "frontmatter": { + "sidebar": "auto" + }, + "excerpt": "", + "headers": [ + { + "level": 2, + "title": "基本概念", + "slug": "基本概念", + "children": [] + }, + { + "level": 2, + "title": "快速上手", + "slug": "快速上手", + "children": [] + }, + { + "level": 2, + "title": "类的方法与成员变量", + "slug": "类的方法与成员变量", + "children": [] + }, + { + "level": 2, + "title": "方法与变量的定义", + "slug": "方法与变量的定义", + "children": [] + } + ], + "git": { + "updatedTime": 1645018969000, + "contributors": [ + { + "name": "felinae98", + "email": "731499577@qq.com", + "commits": 4 + }, + { + "name": "hemengyang", + "email": "hmy0119@gmail.com", + "commits": 1 + } + ] + }, + "filePathRelative": "dev/README.md" +} + +if (import.meta.webpackHot) { + import.meta.webpackHot.accept() + if (__VUE_HMR_RUNTIME__.updatePageData) { + __VUE_HMR_RUNTIME__.updatePageData(data) + } +} + +if (import.meta.hot) { + import.meta.hot.accept(({ data }) => { + __VUE_HMR_RUNTIME__.updatePageData(data) + }) +} diff --git a/docs/.vuepress/.temp/pages/dev/index.html.vue b/docs/.vuepress/.temp/pages/dev/index.html.vue new file mode 100644 index 0000000..8d6f9e2 --- /dev/null +++ b/docs/.vuepress/.temp/pages/dev/index.html.vue @@ -0,0 +1,78 @@ + diff --git a/docs/.vuepress/.temp/pages/index.html.js b/docs/.vuepress/.temp/pages/index.html.js new file mode 100644 index 0000000..badb334 --- /dev/null +++ b/docs/.vuepress/.temp/pages/index.html.js @@ -0,0 +1,59 @@ +export const data = { + "key": "v-8daa1a0e", + "path": "/", + "title": "", + "lang": "en-US", + "frontmatter": { + "home": true, + "heroText": "Nonebot Bison", + "tagline": "本bot励志做全泰拉骑车最快的信使", + "actionText": "快速部署", + "actionLink": "/usage/", + "features": [ + { + "title": "拓展性强", + "details": "没有自己想要的网站?只要简单的爬虫知识就可以给它适配一个新的网站" + }, + { + "title": "通用,强大", + "details": "社交媒体?网站更新?游戏开服?只要能爬就都能推,还支持自定义过滤" + }, + { + "title": "后台管理", + "details": "提供后台管理页面,简单快捷修改配置" + } + ], + "footer": "MIT Licensed" + }, + "excerpt": "", + "headers": [], + "git": { + "updatedTime": 1644411914000, + "contributors": [ + { + "name": "felinae98", + "email": "731499577@qq.com", + "commits": 7 + }, + { + "name": "hemengyang", + "email": "hmy0119@gmail.com", + "commits": 1 + } + ] + }, + "filePathRelative": "README.md" +} + +if (import.meta.webpackHot) { + import.meta.webpackHot.accept() + if (__VUE_HMR_RUNTIME__.updatePageData) { + __VUE_HMR_RUNTIME__.updatePageData(data) + } +} + +if (import.meta.hot) { + import.meta.hot.accept(({ data }) => { + __VUE_HMR_RUNTIME__.updatePageData(data) + }) +} diff --git a/docs/.vuepress/.temp/pages/index.html.vue b/docs/.vuepress/.temp/pages/index.html.vue new file mode 100644 index 0000000..cc340bc --- /dev/null +++ b/docs/.vuepress/.temp/pages/index.html.vue @@ -0,0 +1 @@ + diff --git a/docs/.vuepress/.temp/pages/usage/index.html.js b/docs/.vuepress/.temp/pages/usage/index.html.js new file mode 100644 index 0000000..2850f11 --- /dev/null +++ b/docs/.vuepress/.temp/pages/usage/index.html.js @@ -0,0 +1,101 @@ +export const data = { + "key": "v-d0736a32", + "path": "/usage/", + "title": "部署和使用", + "lang": "en-US", + "frontmatter": { + "sidebar": "auto" + }, + "excerpt": "", + "headers": [ + { + "level": 2, + "title": "部署", + "slug": "部署", + "children": [ + { + "level": 3, + "title": "作为 Bot 使用", + "slug": "作为-bot-使用", + "children": [] + }, + { + "level": 3, + "title": "作为插件使用", + "slug": "作为插件使用", + "children": [] + }, + { + "level": 3, + "title": "自动安装", + "slug": "自动安装", + "children": [] + } + ] + }, + { + "level": 2, + "title": "配置", + "slug": "配置", + "children": [] + }, + { + "level": 2, + "title": "使用", + "slug": "使用", + "children": [ + { + "level": 3, + "title": "命令", + "slug": "命令", + "children": [] + }, + { + "level": 3, + "title": "所支持平台的 uid", + "slug": "所支持平台的-uid", + "children": [] + } + ] + } + ], + "git": { + "updatedTime": 1646927246000, + "contributors": [ + { + "name": "felinae98", + "email": "731499577@qq.com", + "commits": 10 + }, + { + "name": "Azide", + "email": "rukuy@qq.com", + "commits": 1 + }, + { + "name": "hemengyang", + "email": "hmy0119@gmail.com", + "commits": 1 + }, + { + "name": "pre-commit-ci[bot]", + "email": "66853113+pre-commit-ci[bot]@users.noreply.github.com", + "commits": 1 + } + ] + }, + "filePathRelative": "usage/README.md" +} + +if (import.meta.webpackHot) { + import.meta.webpackHot.accept() + if (__VUE_HMR_RUNTIME__.updatePageData) { + __VUE_HMR_RUNTIME__.updatePageData(data) + } +} + +if (import.meta.hot) { + import.meta.hot.accept(({ data }) => { + __VUE_HMR_RUNTIME__.updatePageData(data) + }) +} diff --git a/docs/.vuepress/.temp/pages/usage/index.html.vue b/docs/.vuepress/.temp/pages/usage/index.html.vue new file mode 100644 index 0000000..8892514 --- /dev/null +++ b/docs/.vuepress/.temp/pages/usage/index.html.vue @@ -0,0 +1,162 @@ + diff --git a/docs/.vuepress/.temp/styles/index.scss b/docs/.vuepress/.temp/styles/index.scss new file mode 100644 index 0000000..e69de29 diff --git a/docs/.vuepress/.temp/styles/palette.scss b/docs/.vuepress/.temp/styles/palette.scss new file mode 100644 index 0000000..e69de29 diff --git a/docs/.vuepress/.temp/vite-root/index.html b/docs/.vuepress/.temp/vite-root/index.html new file mode 100644 index 0000000..459371d --- /dev/null +++ b/docs/.vuepress/.temp/vite-root/index.html @@ -0,0 +1,13 @@ + + + + + + + +
+ + + diff --git a/docs/usage/README.md b/docs/usage/README.md index 0ac89ff..989a14c 100644 --- a/docs/usage/README.md +++ b/docs/usage/README.md @@ -120,11 +120,14 @@ sidebar: auto - `1`: 首条消息单独发送,剩余图片合并转发 - `2`: 所有消息全部合并转发 ::: details 配置项示例 - - 当`BISON_USE_PIC_MERGE=1`时: + - 当`BISON_USE_PIC_MERGE=1`时: ![simple1](./pic/forward-msg-simple1.png) - - 当`BISON_USE_PIC_MERGE=2`时: + - 当`BISON_USE_PIC_MERGE=2`时: ![simple1](./pic/forward-msg-simple2.png) ::: + ::: warning + 启用此功能时,可能会因为待推送图片过大/过多而导致文字消息与合并转发图片消息推送间隔过大(选择模式`1`时),请谨慎考虑开启。或者选择模式`2`,使图文消息一同合并转发(可能会使消息推送延迟过长) + ::: ## 使用