From eb0d03c04346e0e7560cb6e1600d405647283e24 Mon Sep 17 00:00:00 2001
From: shitao <133397418@qq.com>
Date: Tue, 7 Jan 2025 12:22:36 +0800
Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20docs(settings):=20=E6=9B=B4?=
=?UTF-8?q?=E6=96=B0=E6=8E=A8=E9=80=81=E9=80=9A=E7=9F=A5=E6=9C=8D=E5=8A=A1?=
=?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E6=A1=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 新增 ntfy 和 gotify 推送通知服务支持
- 更新配置文档,添加 ntfy 和 gotify 相关配置说明
- 更新首页文档,添加 ntfy 和 gotify 服务到支持列表
- 更新 settings/_meta.json 文件
- 更新 theme.config.tsx 文件,更新 release banner 信息
---
docs/pages/index.md | 2 ++
docs/pages/settings/_meta.json | 2 +-
docs/pages/settings/config.mdx | 8 ++++++++
docs/pages/settings/notify/gotify.mdx | 15 +++++++--------
docs/pages/settings/notify/ntfy.mdx | 15 +++++++--------
docs/theme.config.tsx | 6 +++---
6 files changed, 28 insertions(+), 20 deletions(-)
diff --git a/docs/pages/index.md b/docs/pages/index.md
index add39ae3a..1a24e2e64 100644
--- a/docs/pages/index.md
+++ b/docs/pages/index.md
@@ -81,6 +81,8 @@
- Cool Push(QQ,微信,邮箱)
- qmsg 酱(QQ)
- 飞书(飞书)
+- ntfy(安卓)
+- gotify(安卓)
## 🤝 参与贡献
diff --git a/docs/pages/settings/_meta.json b/docs/pages/settings/_meta.json
index 86552f9b4..3070955f6 100644
--- a/docs/pages/settings/_meta.json
+++ b/docs/pages/settings/_meta.json
@@ -15,4 +15,4 @@
"tieba":"百度贴吧",
"v2ex":"V2EX",
"youdao":"有道云笔记"
-}
+}
\ No newline at end of file
diff --git a/docs/pages/settings/config.mdx b/docs/pages/settings/config.mdx
index acad615c2..e8fdb80fd 100644
--- a/docs/pages/settings/config.mdx
+++ b/docs/pages/settings/config.mdx
@@ -250,6 +250,14 @@ import { Steps } from 'nextra/components'
title="Server 酱 TURBO"
href="/settings/notify/turbo"
/>
+
+
## 签到平台配置
diff --git a/docs/pages/settings/notify/gotify.mdx b/docs/pages/settings/notify/gotify.mdx
index 42dda76ee..269b2cfe5 100644
--- a/docs/pages/settings/notify/gotify.mdx
+++ b/docs/pages/settings/notify/gotify.mdx
@@ -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**: 分开推送 |
diff --git a/docs/pages/settings/notify/ntfy.mdx b/docs/pages/settings/notify/ntfy.mdx
index cf2df55ee..39227bdd9 100644
--- a/docs/pages/settings/notify/ntfy.mdx
+++ b/docs/pages/settings/notify/ntfy.mdx
@@ -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**: 分开推送 |
diff --git a/docs/theme.config.tsx b/docs/theme.config.tsx
index 34f5b6fba..d0e06d58d 100644
--- a/docs/theme.config.tsx
+++ b/docs/theme.config.tsx
@@ -72,13 +72,13 @@ const config: DocsThemeConfig = {
}
},
banner: {
- key: '2024.10.8-release',
+ key: '2025.1.7-release',
text: (
- 🎉 DailyCheckIn 2024.10.8 is released. Read more →
+ 🎉 DailyCheckIn 2025.1.7 is released. Read more →
),
},