Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
EstrellaXD committed Nov 18, 2023
2 parents e3d7f78 + 550bb4e commit fc870d5
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 9 deletions.
1 change: 0 additions & 1 deletion docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export default defineConfig({
['meta', {property: 'og:image', content: '/social.png'}],
['meta', {property: 'og:site_name', content: 'AutoBangumi'}],
['meta', {property: 'og:url', content: 'https://www.autobangumi.org'}],
["script", {src: '/_vercel/insights/script.js'}]
],

themeConfig: {
Expand Down
9 changes: 6 additions & 3 deletions docs/.vitepress/theme/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import mediumZoom from 'medium-zoom'
import Documate from '@documate/vue'
import '@documate/vue/dist/style.css'
import HomePreviewWebUI from './components/HomePreviewWebUI.vue'
import googleAnalytics from 'vitepress-plugin-google-analytics'

import './style.css'

Expand Down Expand Up @@ -44,7 +45,9 @@ export default {
() => nextTick(initZoom),
)
},
enhanceApp({app, router, siteData}) {
// ...
}
enhanceApp: (ctx) => {
googleAnalytics({
id: 'G-3Z8W6WMN7J',
})
},
}
9 changes: 5 additions & 4 deletions docs/deploy/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,15 @@ https://mikanime.tv/RSS/MyBangumi?token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
## 配置 AutoBangumi

安装好 AB 之后,AB 的 WebUI 会自动运行,但是主程序会处于暂停状态,可以进入 `http://abhost:7892` 进行配置。

1. 填入下载器的地址,端口,用户名和密码。
1. 打开网页后,默认用户名是`admin`默认密码是`adminadmin`。即可进入面板。
进入面板后请及时更改用户名和密码。
2. 填入下载器的地址,端口,用户名和密码。

![ab-webui](../image/config/downloader.png){width=500}{class=ab-shadow-card}

2. 点击 **Apply** 保存配置,此时 AB 会重启运行,当右上角的圆点变为绿色时,表示 AB 已经正常运行。
3. 点击 **Apply** 保存配置,此时 AB 会重启运行,当右上角的圆点变为绿色时,表示 AB 已经正常运行。

3. 点击右上角的添加按钮,勾选 **聚合 RSS**, 选择解析器类型,填入 Mikan RSS 的地址。
4. 点击右上角的添加按钮,勾选 **聚合 RSS**, 选择解析器类型,填入 Mikan RSS 的地址。

![ab-rss](../image/config/add-rss.png){width=500}{class=ab-shadow-card}

Expand Down
3 changes: 2 additions & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
},
"type": "module",
"dependencies": {
"@documate/vue": "^0.3.1"
"@documate/vue": "^0.3.1",
"vitepress-plugin-google-analytics": "^1.0.2"
}
}
7 changes: 7 additions & 0 deletions docs/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fc870d5

Please sign in to comment.