Skip to content

Commit 0647b89

Browse files
committed
chore: upload shortcuts.json
1 parent cdca5d7 commit 0647b89

6 files changed

Lines changed: 80 additions & 44 deletions

File tree

docs/astro.config.mjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ export default defineConfig({
1111
vite: {
1212
plugins: [tailwindcss()],
1313
},
14+
redirects: {
15+
'/shortcuts/latest/config': 'https://www.icloud.com/shortcuts/028169245b6a49b7afb1c2c147defd7a',
16+
'/shortcuts/latest/sync': 'https://www.icloud.com/shortcuts/4b342969796c4a87a031874de0d69992',
17+
'/shortcuts/latest/upload-image': 'https://www.icloud.com/shortcuts/b22a7c469c714d34a63fb922ed45c560',
18+
'/shortcuts/latest/clean-note': 'https://www.icloud.com/shortcuts/5493417834a34bbca64c67d742a6ddae',
19+
},
1420
integrations: [
1521

1622
starlight({

docs/public/shortcuts.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"suite_name": "Moire",
3+
"current_version": "1.0.0",
4+
"release_date": "2026-02-07",
5+
"update_notes": "初始版本发布:支持 Apple Notes 同步至 GitHub 并自动处理图片。",
6+
"installer_config": {
7+
"min_ios_version": "16.0",
8+
"config_path": "Shortcuts/Moire/config.json"
9+
},
10+
"shortcuts": [
11+
{
12+
"id": "config",
13+
"name": "Moire: Config",
14+
"url": "https://www.icloud.com/shortcuts/028169245b6a49b7afb1c2c147defd7a",
15+
},
16+
{
17+
"id": "upload_image",
18+
"name": "Moire: Upload Image to Github",
19+
"url": "https://www.icloud.com/shortcuts/b22a7c469c714d34a63fb922ed45c560",
20+
},
21+
{
22+
"id": "clean_note",
23+
"name": "Moire: Clean Note to Markdown",
24+
"url": "https://www.icloud.com/shortcuts/5493417834a34bbca64c67d742a6ddae",
25+
},
26+
{
27+
"id": "sync_notes",
28+
"name": "Moire: Sync Notes to Github",
29+
"url": "https://www.icloud.com/shortcuts/4b342969796c4a87a031874de0d69992",
30+
}
31+
]
32+
}

docs/public/v1.0.0/shortcuts.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"suite_name": "Moire",
3+
"current_version": "1.0.0",
4+
"release_date": "2026-02-07",
5+
"update_notes": "初始版本发布:支持 Apple Notes 同步至 GitHub 并自动处理图片。",
6+
"installer_config": {
7+
"min_ios_version": "16.0",
8+
"config_path": "Shortcuts/Moire/config.json"
9+
},
10+
"shortcuts": [
11+
{
12+
"id": "config",
13+
"name": "Moire: Config",
14+
"url": "https://www.icloud.com/shortcuts/028169245b6a49b7afb1c2c147defd7a"
15+
},
16+
{
17+
"id": "upload_image",
18+
"name": "Moire: Upload Image to Github",
19+
"url": "https://www.icloud.com/shortcuts/b22a7c469c714d34a63fb922ed45c560"
20+
},
21+
{
22+
"id": "clean_note",
23+
"name": "Moire: Clean Note to Markdown",
24+
"url": "https://www.icloud.com/shortcuts/5493417834a34bbca64c67d742a6ddae"
25+
},
26+
{
27+
"id": "sync_notes",
28+
"name": "Moire: Sync Notes to Github",
29+
"url": "https://www.icloud.com/shortcuts/4b342969796c4a87a031874de0d69992"
30+
}
31+
]
32+
}

docs/src/content/docs/shortcuts/downloads.mdx

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: 下载并安装 Moire Config 和 Moire Sync 快捷指令
55

66
import { Steps, LinkButton, Card } from '@astrojs/starlight/components';
77

8-
Moire 使用两个 iOS 快捷指令来实现同步功能。
8+
Moire 使用四个 iOS 快捷指令来实现同步功能。
99

1010
## 下载地址
1111

@@ -16,19 +16,19 @@ Moire 使用两个 iOS 快捷指令来实现同步功能。
1616

1717
**安装顺序**:必须**最先**安装。
1818

19-
<LinkButton href="/shortcuts/latest/config" variant="primary" icon="download">
19+
<LinkButton href="/shortcuts/latest/config" variant="primary" icon="download" target="_blank">
2020
下载 Moire Config
2121
</LinkButton>
2222

23-
### 2. 功能组件 (依赖 Config)
23+
### 2. 功能组件
2424

2525
这两个快捷指令负责具体的数据转换和上传功能。
2626

2727
<div class="flex gap-4 flex-wrap">
28-
<LinkButton href="/shortcuts/latest/upload-image" variant="secondary" icon="download">
28+
<LinkButton href="/shortcuts/latest/upload-image" variant="secondary" icon="download" target="_blank">
2929
下载 Upload Image
3030
</LinkButton>
31-
<LinkButton href="/shortcuts/latest/clean-note" variant="secondary" icon="download">
31+
<LinkButton href="/shortcuts/latest/clean-note" variant="secondary" icon="download" target="_blank">
3232
下载 Clean Note
3333
</LinkButton>
3434
</div>
@@ -39,22 +39,10 @@ Moire 使用两个 iOS 快捷指令来实现同步功能。
3939

4040
**安装顺序**:必须在 Config 和功能组件之后安装。
4141

42-
<LinkButton href="/shortcuts/latest/sync" variant="secondary" icon="download">
42+
<LinkButton href="/shortcuts/latest/sync" variant="secondary" icon="download" target="_blank">
4343
下载 Moire Sync
4444
</LinkButton>
4545

46-
## 依赖关系
47-
48-
49-
50-
```
51-
Moire Config (基础配置)
52-
53-
Upload Image & Clean Note (功能组件)
54-
55-
Moire Sync (主程序)
56-
```
57-
5846

5947
## 安装步骤
6048

@@ -71,9 +59,12 @@ Moire Sync (主程序)
7159
</Steps>
7260

7361

62+
63+
![](./moire_shortcuts.png)
64+
7465
## 版本信息
7566

76-
当前版本:**v1.2.0** (2026-02-03)
67+
当前版本:**v1.0.0** (2026-02-07)
7768

7869
:::tip[检查更新]
7970
快捷指令内部包含版本号。你可以打开快捷指令查看顶部的注释来确认版本。
507 KB
Loading

docs/vercel.json

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)