diff --git a/docs/docs/.vuepress/config.js b/docs/docs/.vuepress/config.js index 396661c..587234e 100644 --- a/docs/docs/.vuepress/config.js +++ b/docs/docs/.vuepress/config.js @@ -1,7 +1,7 @@ module.exports = { title: 'Rubick', description: '你的开源桌面插件应用', - base: '/', + base: '/rubick2/', themeConfig: { themeColor: { blue: "#2196f3", diff --git a/docs/docs/api/README.md b/docs/docs/api/README.md index 2dfb0fa..419386f 100644 --- a/docs/docs/api/README.md +++ b/docs/docs/api/README.md @@ -48,7 +48,7 @@ type 为 "text"、"regex"、 "over" 时, payload 值为进入插件时的主 * `callback` Function -每当插件从前台进入到后台时,uTools 将会主动调用这个方法。 +每当插件从前台进入到后台时,rubick 将会主动调用这个方法。 ## 窗口交互 @@ -111,7 +111,7 @@ rubick.setSubInput(({ text }) => { #### 示例 ```js -rubick.setSubInputValue('uTools') +rubick.setSubInputValue('rubick') ``` ## 系统 @@ -226,7 +226,7 @@ id: "demo2", ok: true, rev: "2-7857b2801bc0303d2cc0bb82e8afd796" */ ``` -### utools.db.allDocs(key) +### rubick.db.allDocs(key) * `key` String | Array * `返回` Array 执行该方法将会获取所有数据库文档,如果传入字符串,则会返回以字符串开头的文档,也可以传入指定 ID 的数组,不传入则为获取所有文档。