Skip to content

Commit

Permalink
📝 docs(settings): 更新推送通知服务配置文档
Browse files Browse the repository at this point in the history
- 新增 ntfy 和 gotify 推送通知服务支持
- 更新配置文档,添加 ntfy 和 gotify 相关配置说明
- 更新首页文档,添加 ntfy 和 gotify 服务到支持列表
- 更新 settings/_meta.json 文件
- 更新 theme.config.tsx 文件,更新 release banner 信息
  • Loading branch information
Sitoi committed Jan 7, 2025
1 parent 83cf302 commit eb0d03c
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 20 deletions.
2 changes: 2 additions & 0 deletions docs/pages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@
- Cool Push(QQ,微信,邮箱)
- qmsg 酱(QQ)
- 飞书(飞书)
- ntfy(安卓)
- gotify(安卓)

## 🤝 参与贡献

Expand Down
2 changes: 1 addition & 1 deletion docs/pages/settings/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
"tieba":"百度贴吧",
"v2ex":"V2EX",
"youdao":"有道云笔记"
}
}
8 changes: 8 additions & 0 deletions docs/pages/settings/config.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,14 @@ import { Steps } from 'nextra/components'
title="Server 酱 TURBO"
href="/settings/notify/turbo"
/>
<Card
title="Ntfy"
href="/settings/notify/ntfy"
/>
<Card
title="Gotify"
href="/settings/notify/gotify"
/>
</Cards>

## 签到平台配置
Expand Down
15 changes: 7 additions & 8 deletions docs/pages/settings/notify/gotify.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,20 +58,19 @@ import { Callout } from 'nextra/components'

# GOTIFY


### 配置示例

```json filename="config.json" copy
{
"GOTIFY_URL": "",
"GOTIFY_TOKEN": "",
"GOTIFY_PRIORITY": "",
"GOTIFY_PRIORITY": ""
}
```

| 参数 | 说明 |
| :--------------: | :--------------------------------------------------------------------------------------------: |
| _**GOTIFY_URL**_ | [GOTIFY] ,填写 `GOTIFY_URL` |
| _**GOTIFY_TOKEN**_| 填写 `GOTIFY_TOKEN` |
| _**GOTIFY_PRIORITY**_| 填写 `GOTIFY_PRIORITY` |
| _**MERGE_PUSH**_ | **true**: 将推送消息合并;**false**: 分开推送 |
| 参数 | 说明 |
| :-------------------: | :-------------------------------------------: |
| _**GOTIFY_URL**_ | [GOTIFY] ,填写 `GOTIFY_URL` |
| _**GOTIFY_TOKEN**_ | 填写 `GOTIFY_TOKEN` |
| _**GOTIFY_PRIORITY**_ | 填写 `GOTIFY_PRIORITY` |
| _**MERGE_PUSH**_ | **true**: 将推送消息合并;**false**: 分开推送 |
15 changes: 7 additions & 8 deletions docs/pages/settings/notify/ntfy.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,20 +58,19 @@ import { Callout } from 'nextra/components'

# NTFY


### 配置示例

```json filename="config.json" copy
{
"NTFY_URL": "",
"NTFY_TOPIC": "",
"NTFY_PRIORITY": "",
"NTFY_PRIORITY": ""
}
```

| 参数 | 说明 |
| :--------------: | :--------------------------------------------------------------------------------------------: |
| _**NTFY_URL**_ | [NTFY](https://ntfy.sh) ,填写 `NTFY_URL` 例: `https://ntfy.sh` 也可以自建服务端 |
| _**NTFY_TOPIC**_| 填写 `NTFY_TOPIC` 例: `dailycheckin` |
| _**NTFY_PRIORITY**_| 填写 `NTFY_PRIORITY` 例: `3`, 默认为3 |
| _**MERGE_PUSH**_ | **true**: 将推送消息合并;**false**: 分开推送 |
| 参数 | 说明 |
| :-----------------: | :-----------------------------------------------------------------------------: |
| _**NTFY_URL**_ | [NTFY](https://ntfy.sh) ,填写 `NTFY_URL` 例: `https://ntfy.sh` 也可以自建服务端 |
| _**NTFY_TOPIC**_ | 填写 `NTFY_TOPIC` 例: `dailycheckin` |
| _**NTFY_PRIORITY**_ | 填写 `NTFY_PRIORITY` 例: `3`, 默认为 3 |
| _**MERGE_PUSH**_ | **true**: 将推送消息合并;**false**: 分开推送 |
6 changes: 3 additions & 3 deletions docs/theme.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ const config: DocsThemeConfig = {
}
},
banner: {
key: '2024.10.8-release',
key: '2025.1.7-release',
text: (
<a
href="/dailycheckin/history/2024-10-08/"
href="/dailycheckin/history/2025-01-07/"
target="_blank"
>
🎉 DailyCheckIn 2024.10.8 is released. Read more →
🎉 DailyCheckIn 2025.1.7 is released. Read more →
</a>
),
},
Expand Down

0 comments on commit eb0d03c

Please sign in to comment.