From 8a3f0b05bbacb34684e5a2909c8d1406396f0c21 Mon Sep 17 00:00:00 2001
From: Kamiya <58339640+kamiya10@users.noreply.github.com>
Date: Sat, 8 Jun 2024 12:13:29 +0800
Subject: [PATCH 1/4] fix(cdps): component style fixes
---
docs/cdps/develop/index.mdx | 2 +-
.../{more => miscellaneous}/dependencies.mdx | 0
docs/cdps/{more => miscellaneous}/event.mdx | 0
.../{more => miscellaneous}/events_list.mdx | 0
.../focus-load.mdx} | 0
docs/cdps/{more => miscellaneous}/index.mdx | 4 +-
docs/cdps/{more => miscellaneous}/inject.mdx | 0
docs/cdps/{more => miscellaneous}/log.mdx | 0
docs/cdps/{more => miscellaneous}/pip.mdx | 0
docs/cdps/{more => miscellaneous}/plugin.mdx | 0
.../pre-load.mdx} | 0
docs/cdps/{more => miscellaneous}/thread.mdx | 0
docs/cdps/{more => miscellaneous}/tree.mdx | 0
docs/cdps/{more => miscellaneous}/version.mdx | 0
docs/cdps/plugin/index.mdx | 2 +-
docs/cdps/plugin/more.mdx | 8 ---
docs/cdps/plugins/color_log.mdx | 30 ++++++-----
docs/cdps/plugins/discordwebhook.mdx | 18 +++----
docs/cdps/plugins/example.mdx | 35 -------------
docs/cdps/plugins/index.mdx | 13 ++---
docs/cdps/plugins/report.mdx | 30 ++++++-----
docs/cdps/plugins/websocketclient.mdx | 28 +++++------
docs/cdps/release/index.mdx | 4 +-
.../current/cdps/develop/index.mdx | 13 +++--
.../{more => miscellaneous}/dependencies.mdx | 0
.../events-list.mdx} | 0
.../focus-load.mdx} | 0
.../cdps/{more => miscellaneous}/index.mdx | 8 +--
.../cdps/{more => miscellaneous}/inject.mdx | 0
.../cdps/{more => miscellaneous}/log.mdx | 0
.../cdps/{more => miscellaneous}/pip.mdx | 0
.../cdps/{more => miscellaneous}/plugin.mdx | 0
.../cdps/{more => miscellaneous}/pre_load.mdx | 0
.../cdps/{more => miscellaneous}/thread.mdx | 0
.../cdps/{more => miscellaneous}/tree.mdx | 0
.../cdps/{more => miscellaneous}/version.mdx | 0
.../current/cdps/plugin/index.mdx | 30 ++++++++---
.../current/cdps/plugin/more.mdx | 7 ---
.../current/cdps/plugins/color_log.mdx | 41 ++++++++++-----
.../current/cdps/plugins/discordwebhook.mdx | 33 ++++++++----
.../current/cdps/plugins/example.mdx | 18 -------
.../current/cdps/plugins/index.mdx | 13 ++---
.../current/cdps/plugins/report.mdx | 33 ++++++++----
.../current/cdps/plugins/websocketclient.mdx | 50 ++++++++++++-------
.../current/cdps/release/index.mdx | 23 +++++++--
src/components/GithubAuthor/index.tsx | 14 ++++++
src/components/GithubAuthor/styles.module.css | 17 +++++++
src/components/GithubRepositoryLink/index.tsx | 15 ++++++
.../GithubRepositoryLink/styles.module.css | 24 +++++++++
src/components/PluginMetaBar/index.tsx | 18 +++++++
.../PluginMetaBar/styles.module.css | 6 +++
static/img/github.svg | 1 +
52 files changed, 319 insertions(+), 219 deletions(-)
rename docs/cdps/{more => miscellaneous}/dependencies.mdx (100%)
rename docs/cdps/{more => miscellaneous}/event.mdx (100%)
rename docs/cdps/{more => miscellaneous}/events_list.mdx (100%)
rename docs/cdps/{more/focus_load.mdx => miscellaneous/focus-load.mdx} (100%)
rename docs/cdps/{more => miscellaneous}/index.mdx (86%)
rename docs/cdps/{more => miscellaneous}/inject.mdx (100%)
rename docs/cdps/{more => miscellaneous}/log.mdx (100%)
rename docs/cdps/{more => miscellaneous}/pip.mdx (100%)
rename docs/cdps/{more => miscellaneous}/plugin.mdx (100%)
rename docs/cdps/{more/pre_load.mdx => miscellaneous/pre-load.mdx} (100%)
rename docs/cdps/{more => miscellaneous}/thread.mdx (100%)
rename docs/cdps/{more => miscellaneous}/tree.mdx (100%)
rename docs/cdps/{more => miscellaneous}/version.mdx (100%)
delete mode 100644 docs/cdps/plugin/more.mdx
delete mode 100644 docs/cdps/plugins/example.mdx
rename i18n/ja/docusaurus-plugin-content-docs/current/cdps/{more => miscellaneous}/dependencies.mdx (100%)
rename i18n/ja/docusaurus-plugin-content-docs/current/cdps/{more/events_list.mdx => miscellaneous/events-list.mdx} (100%)
rename i18n/ja/docusaurus-plugin-content-docs/current/cdps/{more/focus_load.mdx => miscellaneous/focus-load.mdx} (100%)
rename i18n/ja/docusaurus-plugin-content-docs/current/cdps/{more => miscellaneous}/index.mdx (78%)
rename i18n/ja/docusaurus-plugin-content-docs/current/cdps/{more => miscellaneous}/inject.mdx (100%)
rename i18n/ja/docusaurus-plugin-content-docs/current/cdps/{more => miscellaneous}/log.mdx (100%)
rename i18n/ja/docusaurus-plugin-content-docs/current/cdps/{more => miscellaneous}/pip.mdx (100%)
rename i18n/ja/docusaurus-plugin-content-docs/current/cdps/{more => miscellaneous}/plugin.mdx (100%)
rename i18n/ja/docusaurus-plugin-content-docs/current/cdps/{more => miscellaneous}/pre_load.mdx (100%)
rename i18n/ja/docusaurus-plugin-content-docs/current/cdps/{more => miscellaneous}/thread.mdx (100%)
rename i18n/ja/docusaurus-plugin-content-docs/current/cdps/{more => miscellaneous}/tree.mdx (100%)
rename i18n/ja/docusaurus-plugin-content-docs/current/cdps/{more => miscellaneous}/version.mdx (100%)
delete mode 100644 i18n/ja/docusaurus-plugin-content-docs/current/cdps/plugin/more.mdx
delete mode 100644 i18n/ja/docusaurus-plugin-content-docs/current/cdps/plugins/example.mdx
create mode 100644 src/components/GithubAuthor/index.tsx
create mode 100644 src/components/GithubAuthor/styles.module.css
create mode 100644 src/components/GithubRepositoryLink/index.tsx
create mode 100644 src/components/GithubRepositoryLink/styles.module.css
create mode 100644 src/components/PluginMetaBar/index.tsx
create mode 100644 src/components/PluginMetaBar/styles.module.css
create mode 100644 static/img/github.svg
diff --git a/docs/cdps/develop/index.mdx b/docs/cdps/develop/index.mdx
index 00cdbf4..92ee7f5 100644
--- a/docs/cdps/develop/index.mdx
+++ b/docs/cdps/develop/index.mdx
@@ -24,7 +24,7 @@ sidebar_position: 6
:::tip
- 開發時應保持 `簡潔` 的原則。
-- 若非所有用戶所需之功能,可以參考利用 [Inject 注入](../more/inject) 的方式實現。
+- 若非所有用戶所需之功能,可以參考利用 [Inject 注入](/docs/cdps/miscellaneous/inject) 的方式實現。
:::
diff --git a/docs/cdps/more/dependencies.mdx b/docs/cdps/miscellaneous/dependencies.mdx
similarity index 100%
rename from docs/cdps/more/dependencies.mdx
rename to docs/cdps/miscellaneous/dependencies.mdx
diff --git a/docs/cdps/more/event.mdx b/docs/cdps/miscellaneous/event.mdx
similarity index 100%
rename from docs/cdps/more/event.mdx
rename to docs/cdps/miscellaneous/event.mdx
diff --git a/docs/cdps/more/events_list.mdx b/docs/cdps/miscellaneous/events_list.mdx
similarity index 100%
rename from docs/cdps/more/events_list.mdx
rename to docs/cdps/miscellaneous/events_list.mdx
diff --git a/docs/cdps/more/focus_load.mdx b/docs/cdps/miscellaneous/focus-load.mdx
similarity index 100%
rename from docs/cdps/more/focus_load.mdx
rename to docs/cdps/miscellaneous/focus-load.mdx
diff --git a/docs/cdps/more/index.mdx b/docs/cdps/miscellaneous/index.mdx
similarity index 86%
rename from docs/cdps/more/index.mdx
rename to docs/cdps/miscellaneous/index.mdx
index 80361ac..eb0b1ff 100644
--- a/docs/cdps/more/index.mdx
+++ b/docs/cdps/miscellaneous/index.mdx
@@ -12,8 +12,8 @@ sidebar_position: 7
- [目錄樹](./tree)
- [多執行緒(threading)](./thread)
- [Inject 注入](./inject)
-- [完全載入](./focus_load)
-- [優先載入](./pre_load)
+- [完全載入](./focus-load)
+- [優先載入](./pre-load)
- [版本管理](./version)
- [依賴關係](./dependencies)
- [PyPI 依賴](./pip)
diff --git a/docs/cdps/more/inject.mdx b/docs/cdps/miscellaneous/inject.mdx
similarity index 100%
rename from docs/cdps/more/inject.mdx
rename to docs/cdps/miscellaneous/inject.mdx
diff --git a/docs/cdps/more/log.mdx b/docs/cdps/miscellaneous/log.mdx
similarity index 100%
rename from docs/cdps/more/log.mdx
rename to docs/cdps/miscellaneous/log.mdx
diff --git a/docs/cdps/more/pip.mdx b/docs/cdps/miscellaneous/pip.mdx
similarity index 100%
rename from docs/cdps/more/pip.mdx
rename to docs/cdps/miscellaneous/pip.mdx
diff --git a/docs/cdps/more/plugin.mdx b/docs/cdps/miscellaneous/plugin.mdx
similarity index 100%
rename from docs/cdps/more/plugin.mdx
rename to docs/cdps/miscellaneous/plugin.mdx
diff --git a/docs/cdps/more/pre_load.mdx b/docs/cdps/miscellaneous/pre-load.mdx
similarity index 100%
rename from docs/cdps/more/pre_load.mdx
rename to docs/cdps/miscellaneous/pre-load.mdx
diff --git a/docs/cdps/more/thread.mdx b/docs/cdps/miscellaneous/thread.mdx
similarity index 100%
rename from docs/cdps/more/thread.mdx
rename to docs/cdps/miscellaneous/thread.mdx
diff --git a/docs/cdps/more/tree.mdx b/docs/cdps/miscellaneous/tree.mdx
similarity index 100%
rename from docs/cdps/more/tree.mdx
rename to docs/cdps/miscellaneous/tree.mdx
diff --git a/docs/cdps/more/version.mdx b/docs/cdps/miscellaneous/version.mdx
similarity index 100%
rename from docs/cdps/more/version.mdx
rename to docs/cdps/miscellaneous/version.mdx
diff --git a/docs/cdps/plugin/index.mdx b/docs/cdps/plugin/index.mdx
index 7e439ac..92b47f6 100644
--- a/docs/cdps/plugin/index.mdx
+++ b/docs/cdps/plugin/index.mdx
@@ -1,5 +1,5 @@
---
-sidebar_position: 5
+sidebar_position: 4
---
# 擴充開發
diff --git a/docs/cdps/plugin/more.mdx b/docs/cdps/plugin/more.mdx
deleted file mode 100644
index 2eb2a5e..0000000
--- a/docs/cdps/plugin/more.mdx
+++ /dev/null
@@ -1,8 +0,0 @@
----
-sidebar_position: 5
----
-
-# 更多
-
-- 更多你可能還想知道的東西!!!
-- [點擊前往](../more)
diff --git a/docs/cdps/plugins/color_log.mdx b/docs/cdps/plugins/color_log.mdx
index 37d12e8..783bacc 100644
--- a/docs/cdps/plugins/color_log.mdx
+++ b/docs/cdps/plugins/color_log.mdx
@@ -2,39 +2,41 @@
sidebar_position: 6
---
-# color_log `1.0.2`
+import PluginMetaBar from "@site/src/components/PluginMetaBar";
+
+# 📦 color_log `1.0.2`
+
+
:::danger
-- 使用了**Inject 注入** [點擊查看](../more/inject)
+- 此擴充套件使用了 **「Inject 注入」**,你可以在[這裡](/docs/cdps/miscellaneous/inject)查看詳細資訊。
:::
:::caution
-- 使用了**完全載入(focus-load)** [點擊查看](../more/focus_load)
+- 此擴充套件使用了 **「完全載入 (focus-load)」**,你可以在[這裡](/docs/cdps/miscellaneous/focus-load)查看詳細資訊。
:::
:::info
-- 使用了**優先載入(pre-load)** [點擊查看](../more/pre_load)
+- 此擴充套件使用了 **「優先載入 (pre-load)」**,你可以在[這裡](/docs/cdps/miscellaneous/pre-load)查看詳細資訊。
:::
:::note
-- 此**擴充**使用**Inject 注入**修改 CDPS 的原生 Log 方法,可能導致 Log 問題,請謹慎使用。
+- 此擴充套件使用了 **「Inject 注入」** 修改 CDPS 的原生 Log 方法,可能導致 Log 出現問題,請謹慎使用。
:::
-### 作者
-
-- [`YuYu1015`](https://github.com/whes1015)
-
-### 說明
-
-- CDPS 的 顏色 Log 輸出
+CDPS 的 顏色 Log 輸出
## 依賴
@@ -47,7 +49,3 @@ sidebar_position: 6
### PyPI 依賴
- 無
-
-## 原始碼
-
-- [GitHub](https://github.com/ExpTechTW/CDPS-color_log)
diff --git a/docs/cdps/plugins/discordwebhook.mdx b/docs/cdps/plugins/discordwebhook.mdx
index 021bd98..336d918 100644
--- a/docs/cdps/plugins/discordwebhook.mdx
+++ b/docs/cdps/plugins/discordwebhook.mdx
@@ -2,15 +2,17 @@
sidebar_position: 3
---
-# discordwebhook `1.0.1`
+import PluginMetaBar from "@site/src/components/PluginMetaBar";
-## 作者
+# 📦 discordwebhook `1.0.1`
-- [`PiscesXD`](https://github.com/PiscesXD)
+
-## 說明
-
-- Discord Webhook
+Discord Webhook
## 依賴
@@ -23,7 +25,3 @@ sidebar_position: 3
### PyPI 依賴
- 未知
-
-## 原始碼
-
-- [GitHub](https://github.com/PiscesXD/cdps-discordwebhook)
diff --git a/docs/cdps/plugins/example.mdx b/docs/cdps/plugins/example.mdx
deleted file mode 100644
index aa5fb01..0000000
--- a/docs/cdps/plugins/example.mdx
+++ /dev/null
@@ -1,35 +0,0 @@
----
-sidebar_position: 2
----
-
-# example `1.0.0`
-
-:::tip
-
-- 以此為基礎,設計自己的 擴充 吧!!!
-
-:::
-
-### 作者
-
-- [`YuYu1015`](https://github.com/whes1015)
-
-### 說明
-
-- CDPS 的**範例擴充**
-
-## 依賴
-
-### CDPS 依賴
-
-| 名稱 | 版本 |
-| ------ | ----------- |
-| `CDPS` | `>= 1.0.18` |
-
-### PyPI 依賴
-
-- 未知
-
-## 原始碼
-
-- [GitHub](https://github.com/ExpTechTW/CDPS-ExamplePlugin)
diff --git a/docs/cdps/plugins/index.mdx b/docs/cdps/plugins/index.mdx
index 2bac53f..a168f6c 100644
--- a/docs/cdps/plugins/index.mdx
+++ b/docs/cdps/plugins/index.mdx
@@ -1,20 +1,17 @@
---
-sidebar_position: 4
+sidebar_position: 5
---
-# 擴充
+# 擴充套件
-- 這裡紀錄著 可供使用的擴充
+這裡紀錄著 可供使用的擴充
-## 索引
+## 工具
-### 工具
-
-- [example](./example)
- [discordwebhook](./discordwebhook)
- [color_log](./color_log)
- [websocketclient](./websocketclient)
-### 資料
+## 資料
- [report](./report)
diff --git a/docs/cdps/plugins/report.mdx b/docs/cdps/plugins/report.mdx
index 6152d2c..74bbe76 100644
--- a/docs/cdps/plugins/report.mdx
+++ b/docs/cdps/plugins/report.mdx
@@ -2,34 +2,32 @@
sidebar_position: 4
---
-# report `1.0.1`
+import PluginMetaBar from "@site/src/components/PluginMetaBar";
-:::note
-
-- 此**擴充**使用了已經遺棄的方法,不能在 CDPS `>= 1.0.18` 的版本上執行。
+# 📦 report `1.0.1`
-:::
+
-### 作者
+:::note
-- [`Yoyo0901`](https://github.com/Yoyochou0901)
+- 此擴充套件使用了已經遺棄的方法,將無法在 CDPS `>= 1.0.18` 的版本上執行。
-### 說明
+:::
-- CDPS 接收地震報告
+CDPS 接收地震報告
## 依賴
### CDPS 依賴
-| 名稱 | 版本 |
-| ------ | ----------- |
-| `CDPS` | `>= 1.0.13` |
+| 名稱 | 版本 |
+| ------ | ----------------------- |
+| `CDPS` | `>= 1.0.13`, `< 1.0.18` |
### PyPI 依賴
- 未知
-
-## 原始碼
-
-- [GitHub](https://github.com/ExpTechTW/CDPS-report)
diff --git a/docs/cdps/plugins/websocketclient.mdx b/docs/cdps/plugins/websocketclient.mdx
index 59f215f..8ab0321 100644
--- a/docs/cdps/plugins/websocketclient.mdx
+++ b/docs/cdps/plugins/websocketclient.mdx
@@ -2,27 +2,29 @@
sidebar_position: 5
---
-# websocketclient `1.0.4`
+import PluginMetaBar from "@site/src/components/PluginMetaBar";
-:::caution
+# 📦 websocketclient `1.0.4`
-- 使用了**完全載入(focus-load)** [點擊查看](../more/focus_load)
+
-:::
-
-:::info
+:::caution
-- 使用了**優先載入(pre-load)** [點擊查看](../more/pre_load)
+- 此擴充套件使用了 **「完全載入 (focus-load)」**,你可以在[這裡](/docs/cdps/miscellaneous/focus-load)查看詳細資訊。
:::
-### 作者
+:::info
-- [`yayacat`](https://github.com/yayacat)
+- 此擴充套件使用了 **「優先載入 (pre-load)」**,你可以在[這裡](/docs/cdps/miscellaneous/pre-load)查看詳細資訊。
-### 說明
+:::
-- CDPS 的 websocket client 擴充
+CDPS 的 websocket client 擴充
## 依賴
@@ -37,7 +39,3 @@ sidebar_position: 5
| 名稱 | 版本 |
| ------------------ | ---------- |
| `websocket-client` | `>= 1.8.0` |
-
-## 原始碼
-
-- [GitHub](https://github.com/ExpTechTW/CDPS-websocketclient)
diff --git a/docs/cdps/release/index.mdx b/docs/cdps/release/index.mdx
index 8aee49b..05bd294 100644
--- a/docs/cdps/release/index.mdx
+++ b/docs/cdps/release/index.mdx
@@ -19,7 +19,7 @@ sidebar_position: 8
#### 🌟 新增
- pip 依賴檢查
-- [`@new_thread`](../more/thread#new_thread) 裝飾器
+- [`@new_thread`](/docs/cdps/miscellaneous/thread#new_thread) 裝飾器
#### 🐞 修正
@@ -27,7 +27,7 @@ sidebar_position: 8
:::caution
-- plugin 內的 `task` 現在改為 `task_run` [參考這裡](../more/thread#task_run)
+- plugin 內的 `task` 現在改為 `task_run` [參考這裡](/docs/cdps/miscellaneous/thread#task_run)
:::
diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/cdps/develop/index.mdx b/i18n/ja/docusaurus-plugin-content-docs/current/cdps/develop/index.mdx
index db1b652..9deeecb 100644
--- a/i18n/ja/docusaurus-plugin-content-docs/current/cdps/develop/index.mdx
+++ b/i18n/ja/docusaurus-plugin-content-docs/current/cdps/develop/index.mdx
@@ -3,18 +3,21 @@ sidebar_position: 6
---
# 開発
+
- これは `CDPS` の開発に関するドキュメントです。拡張機能の開発については[こちらをクリックしてください](../plugin)。
-:::note
+ :::note
- 一般ユーザーの場合、このセクションはスキップしてください(急いで!)。
-:::
+ :::
## ソースコードからの起動
+
- ソースコードをクローンします。
- ルートディレクトリで `python main.py` を実行して CDPS を起動します。
## 貢献
+
- GitHub で [PR](https://github.com/ExpTechTW/CDPS/pulls) を提出します。
-:::tip
+ :::tip
- 開発時は `シンプル` であるべきです。
-- すべてのユーザーに必要な機能でない場合、[Inject 注入](../more/inject)を利用して実装することができます。
-:::
\ No newline at end of file
+- すべてのユーザーに必要な機能でない場合、[Inject 注入](/docs/cdps/miscellaneous/inject)を利用して実装することができます。
+ :::
diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/cdps/more/dependencies.mdx b/i18n/ja/docusaurus-plugin-content-docs/current/cdps/miscellaneous/dependencies.mdx
similarity index 100%
rename from i18n/ja/docusaurus-plugin-content-docs/current/cdps/more/dependencies.mdx
rename to i18n/ja/docusaurus-plugin-content-docs/current/cdps/miscellaneous/dependencies.mdx
diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/cdps/more/events_list.mdx b/i18n/ja/docusaurus-plugin-content-docs/current/cdps/miscellaneous/events-list.mdx
similarity index 100%
rename from i18n/ja/docusaurus-plugin-content-docs/current/cdps/more/events_list.mdx
rename to i18n/ja/docusaurus-plugin-content-docs/current/cdps/miscellaneous/events-list.mdx
diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/cdps/more/focus_load.mdx b/i18n/ja/docusaurus-plugin-content-docs/current/cdps/miscellaneous/focus-load.mdx
similarity index 100%
rename from i18n/ja/docusaurus-plugin-content-docs/current/cdps/more/focus_load.mdx
rename to i18n/ja/docusaurus-plugin-content-docs/current/cdps/miscellaneous/focus-load.mdx
diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/cdps/more/index.mdx b/i18n/ja/docusaurus-plugin-content-docs/current/cdps/miscellaneous/index.mdx
similarity index 78%
rename from i18n/ja/docusaurus-plugin-content-docs/current/cdps/more/index.mdx
rename to i18n/ja/docusaurus-plugin-content-docs/current/cdps/miscellaneous/index.mdx
index 4d0696d..a48d533 100644
--- a/i18n/ja/docusaurus-plugin-content-docs/current/cdps/more/index.mdx
+++ b/i18n/ja/docusaurus-plugin-content-docs/current/cdps/miscellaneous/index.mdx
@@ -3,17 +3,19 @@ sidebar_position: 7
---
# その他
+
- 些細なことの記録だ
## カタログ
+
- [イベント一覧](./events_list)
- [カタログツリー](./tree)
- [マルチスレッド(threading)](./thread)
- [Inject 注入](./inject)
-- [完全にロード](./focus_load)
-- [優先にロード](./pre_load)
+- [完全にロード](./focus-load)
+- [優先にロード](./pre-load)
- [バージョン管理](./version)
- [依存関係](./dependencies)
-- [PyPIの依存関係](./pip)
+- [PyPI の依存関係](./pip)
- [ジャーナル記録](./log)
- [拡張のインポート機能](./plugin)
diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/cdps/more/inject.mdx b/i18n/ja/docusaurus-plugin-content-docs/current/cdps/miscellaneous/inject.mdx
similarity index 100%
rename from i18n/ja/docusaurus-plugin-content-docs/current/cdps/more/inject.mdx
rename to i18n/ja/docusaurus-plugin-content-docs/current/cdps/miscellaneous/inject.mdx
diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/cdps/more/log.mdx b/i18n/ja/docusaurus-plugin-content-docs/current/cdps/miscellaneous/log.mdx
similarity index 100%
rename from i18n/ja/docusaurus-plugin-content-docs/current/cdps/more/log.mdx
rename to i18n/ja/docusaurus-plugin-content-docs/current/cdps/miscellaneous/log.mdx
diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/cdps/more/pip.mdx b/i18n/ja/docusaurus-plugin-content-docs/current/cdps/miscellaneous/pip.mdx
similarity index 100%
rename from i18n/ja/docusaurus-plugin-content-docs/current/cdps/more/pip.mdx
rename to i18n/ja/docusaurus-plugin-content-docs/current/cdps/miscellaneous/pip.mdx
diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/cdps/more/plugin.mdx b/i18n/ja/docusaurus-plugin-content-docs/current/cdps/miscellaneous/plugin.mdx
similarity index 100%
rename from i18n/ja/docusaurus-plugin-content-docs/current/cdps/more/plugin.mdx
rename to i18n/ja/docusaurus-plugin-content-docs/current/cdps/miscellaneous/plugin.mdx
diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/cdps/more/pre_load.mdx b/i18n/ja/docusaurus-plugin-content-docs/current/cdps/miscellaneous/pre_load.mdx
similarity index 100%
rename from i18n/ja/docusaurus-plugin-content-docs/current/cdps/more/pre_load.mdx
rename to i18n/ja/docusaurus-plugin-content-docs/current/cdps/miscellaneous/pre_load.mdx
diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/cdps/more/thread.mdx b/i18n/ja/docusaurus-plugin-content-docs/current/cdps/miscellaneous/thread.mdx
similarity index 100%
rename from i18n/ja/docusaurus-plugin-content-docs/current/cdps/more/thread.mdx
rename to i18n/ja/docusaurus-plugin-content-docs/current/cdps/miscellaneous/thread.mdx
diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/cdps/more/tree.mdx b/i18n/ja/docusaurus-plugin-content-docs/current/cdps/miscellaneous/tree.mdx
similarity index 100%
rename from i18n/ja/docusaurus-plugin-content-docs/current/cdps/more/tree.mdx
rename to i18n/ja/docusaurus-plugin-content-docs/current/cdps/miscellaneous/tree.mdx
diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/cdps/more/version.mdx b/i18n/ja/docusaurus-plugin-content-docs/current/cdps/miscellaneous/version.mdx
similarity index 100%
rename from i18n/ja/docusaurus-plugin-content-docs/current/cdps/more/version.mdx
rename to i18n/ja/docusaurus-plugin-content-docs/current/cdps/miscellaneous/version.mdx
diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/cdps/plugin/index.mdx b/i18n/ja/docusaurus-plugin-content-docs/current/cdps/plugin/index.mdx
index e3a1efb..af4c13b 100644
--- a/i18n/ja/docusaurus-plugin-content-docs/current/cdps/plugin/index.mdx
+++ b/i18n/ja/docusaurus-plugin-content-docs/current/cdps/plugin/index.mdx
@@ -7,37 +7,51 @@ sidebar_position: 5
- 希望する機能のすべてが開発されているわけではないので、もし挑戦する能力があるのなら、自分でやってみよう!
## 準備
+
- - [x] Python ( 推奨 `>= 3.10.0` )
-- - [x] VSCode(または他のIDE)
+- - [x] VSCode(または他の IDE)
- - [x] Git
-- - [ ] GitHubデスクトップ(可選)
+- - [ ] GitHub デスクトップ(可選)
## 仮想環境
-- 拡張機能の開発には、Python独自の仮想環境機能を使用することをお勧めします。
-:::note
-- Source Codeを使用してCDPSの前提条件を強制する。
-:::
-#### 仮想環境の構築
+
+- 拡張機能の開発には、Python 独自の仮想環境機能を使用することをお勧めします。
+ :::note
+- Source Code を使用して CDPS の前提条件を強制する。
+ :::
+
+#### 仮想環境の構築
+
```bash
python -m venv dev
```
+
#### 仮想環境の場所を入力
+
```bash
cd ./dev/Scripts
```
+
#### 仮想環境の起動
+
```bash
activate.bat
```
+
#### ルートカタログに戻る
+
```bash
cd ../../
```
+
#### インストール関連の依存関係
+
```bash
pip install -r requirements.txt
```
+
#### 実行
+
```
python main.py
-```
\ No newline at end of file
+```
diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/cdps/plugin/more.mdx b/i18n/ja/docusaurus-plugin-content-docs/current/cdps/plugin/more.mdx
deleted file mode 100644
index 73938dc..0000000
--- a/i18n/ja/docusaurus-plugin-content-docs/current/cdps/plugin/more.mdx
+++ /dev/null
@@ -1,7 +0,0 @@
----
-sidebar_position: 5
----
-
-# もっと見る
-- まだまだ知りたいことがあるはずだ!
-- [クリックして見る](../more/index.mdx)
diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/cdps/plugins/color_log.mdx b/i18n/ja/docusaurus-plugin-content-docs/current/cdps/plugins/color_log.mdx
index cd57e60..f105fc9 100644
--- a/i18n/ja/docusaurus-plugin-content-docs/current/cdps/plugins/color_log.mdx
+++ b/i18n/ja/docusaurus-plugin-content-docs/current/cdps/plugins/color_log.mdx
@@ -2,25 +2,40 @@
sidebar_position: 6
---
-# color_log `1.0.2`
+import PluginMetaBar from "@site/src/components/PluginMetaBar";
+
+# 📦 color_log `1.0.2`
+
+
+
:::danger
-- 使用する[`完全にロード(focus-load)`](../more/focus_load)
+使用する[`完全にロード(focus-load)`](/docs/cdps/miscellaneous/focus-load)
+
:::
+
:::caution
-- 使用する[`優先にロード(pre-load)`](../more/pre_load)
+
+使用する[`優先にロード(pre-load)`](/docs/cdps/miscellaneous/pre-load)
:::
-### 著者
-- [`YuYu1015`](https://github.com/whes1015)
+
### 説明
-- CDPS的顏色コンソールログ
+
+- CDPS 的顏色コンソールログ
+
## 依存関係
-### CDPSの依存関係
-| 名称 | リリース |
-| --------- | ---------- |
-| `CDPS`| `>= 1.0.18` |
-### PyPIの依存関係
+
+### CDPS の依存関係
+
+| 名称 | リリース |
+| ------ | ----------- |
+| `CDPS` | `>= 1.0.18` |
+
+### PyPI の依存関係
+
- 無
-## ソースコード
-- [GitHub](https://github.com/ExpTechTW/CDPS-color_log)
\ No newline at end of file
diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/cdps/plugins/discordwebhook.mdx b/i18n/ja/docusaurus-plugin-content-docs/current/cdps/plugins/discordwebhook.mdx
index 8d18b86..5ed4681 100644
--- a/i18n/ja/docusaurus-plugin-content-docs/current/cdps/plugins/discordwebhook.mdx
+++ b/i18n/ja/docusaurus-plugin-content-docs/current/cdps/plugins/discordwebhook.mdx
@@ -2,17 +2,28 @@
sidebar_position: 3
---
-# discordwebhook `1.0.1`
-## 著者
-- [`PiscesXD`](https://github.com/PiscesXD)
-## 説明
+import PluginMetaBar from "@site/src/components/PluginMetaBar";
+
+# 📦 discordwebhook `1.0.1`
+
+
+
+## 説明
+
- Discord Webhook
+
## 依存関係
-### CDPSの依存関係
-| 名称 | リリース |
-| --------- | ---------- |
-| `CDPS`| `>= 1.0.13` |
-### PyPIの依存関係
+
+### CDPS の依存関係
+
+| 名称 | リリース |
+| ------ | ----------- |
+| `CDPS` | `>= 1.0.13` |
+
+### PyPI の依存関係
+
- 不明
-## ソースコード
-- [GitHub](https://github.com/PiscesXD/cdps-discordwebhook)
\ No newline at end of file
diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/cdps/plugins/example.mdx b/i18n/ja/docusaurus-plugin-content-docs/current/cdps/plugins/example.mdx
deleted file mode 100644
index 7eea050..0000000
--- a/i18n/ja/docusaurus-plugin-content-docs/current/cdps/plugins/example.mdx
+++ /dev/null
@@ -1,18 +0,0 @@
----
-sidebar_position: 2
----
-
-# example `1.0.0`
-### 著者
-- [`YuYu1015`](https://github.com/whes1015)
-### 説明
-- CDPS 拡張機能例
-## 依存関係
-### CDPSの依存関係
-| 名称 | リリース |
-| --------- | ---------- |
-| `CDPS`| `>= 1.0.18` |
-### PyPIの依存関係
-- 不明
-## ソースコード
-- [GitHub](https://github.com/ExpTechTW/CDPS-ExamplePlugin)
\ No newline at end of file
diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/cdps/plugins/index.mdx b/i18n/ja/docusaurus-plugin-content-docs/current/cdps/plugins/index.mdx
index 589fa6c..a6c891b 100644
--- a/i18n/ja/docusaurus-plugin-content-docs/current/cdps/plugins/index.mdx
+++ b/i18n/ja/docusaurus-plugin-content-docs/current/cdps/plugins/index.mdx
@@ -3,14 +3,15 @@ sidebar_position: 4
---
# 拡張機能
-- 利用可能な拡張機能のリストはこちら
-## インデックス
-### 工具
-- [example](./example)
+利用可能な拡張機能のリストはこちら
+
+## 工具
+
- [discordwebhook](./discordwebhook)
- [color_log](./color_log)
- [websocketclient](./websocketclient)
-### インフォメーション
-- [report](./report)
\ No newline at end of file
+## インフォメーション
+
+- [report](./report)
diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/cdps/plugins/report.mdx b/i18n/ja/docusaurus-plugin-content-docs/current/cdps/plugins/report.mdx
index d707c74..99ca296 100644
--- a/i18n/ja/docusaurus-plugin-content-docs/current/cdps/plugins/report.mdx
+++ b/i18n/ja/docusaurus-plugin-content-docs/current/cdps/plugins/report.mdx
@@ -2,17 +2,28 @@
sidebar_position: 4
---
-# report `1.0.1`
-### 著者
-- [`Yoyo0901`](https://github.com/Yoyochou0901)
+import PluginMetaBar from "@site/src/components/PluginMetaBar";
+
+# 📦 report `1.0.1`
+
+
+
### 説明
-- CDPSが地震レポートを受領
+
+- CDPS が地震レポートを受領
+
## 依存関係
-### CDPSの依存関係
-| 名称 | リリース |
-| --------- | ---------- |
-| `CDPS`| `>= 1.0.13` |
-### PyPIの依存関係
+
+### CDPS の依存関係
+
+| 名称 | リリース |
+| ------ | ----------- |
+| `CDPS` | `>= 1.0.13` |
+
+### PyPI の依存関係
+
- 不明
-## ソースコード
-- [GitHub](https://github.com/ExpTechTW/CDPS-report)
\ No newline at end of file
diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/cdps/plugins/websocketclient.mdx b/i18n/ja/docusaurus-plugin-content-docs/current/cdps/plugins/websocketclient.mdx
index f5fbdbd..34f744f 100644
--- a/i18n/ja/docusaurus-plugin-content-docs/current/cdps/plugins/websocketclient.mdx
+++ b/i18n/ja/docusaurus-plugin-content-docs/current/cdps/plugins/websocketclient.mdx
@@ -2,28 +2,42 @@
sidebar_position: 5
---
-# websocketclient `1.0.4`
+import PluginMetaBar from "@site/src/components/PluginMetaBar";
+
+# 📦 websocketclient `1.0.4`
+
+
+
:::danger
-- 使用了 [`完全載入(focus-load)`](../more/focus_load)
-- 使用する[`完全にロード(focus-load)`](../more/focus_load)
+
+使用する[`完全にロード(focus-load)`](/docs/cdps/miscellaneous/focus-load)
+
:::
+
:::caution
-- 使用了 [`優先載入(pre-load)`](../more/pre_load)
-- 使用する[`優先にロード(pre-load)`](../more/pre_load)
+
+使用する[`優先にロード(pre-load)`](/docs/cdps/miscellaneous/pre-load)
:::
-### 著者
-- [`yayacat`](https://github.com/yayacat)
+
### 説明
-- CDPS用WebSocketクライアント拡張機能
+
+- CDPS 用 WebSocket クライアント拡張機能
+
## 依存関係
-### CDPSの依存関係
-| 名称 | リリース |
-| --------- | ---------- |
-| `CDPS`| `>= 1.0.18` |
-### PyPIの依存関係
-| 名称 | リリース |
-| --------- | ---------- |
-| `websocket-client`| `>= 1.8.0` |
-## ソースコード
-- [GitHub](https://github.com/ExpTechTW/CDPS-websocketclient)
\ No newline at end of file
+
+### CDPS の依存関係
+
+| 名称 | リリース |
+| ------ | ----------- |
+| `CDPS` | `>= 1.0.18` |
+
+### PyPI の依存関係
+
+| 名称 | リリース |
+| ------------------ | ---------- |
+| `websocket-client` | `>= 1.8.0` |
diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/cdps/release/index.mdx b/i18n/ja/docusaurus-plugin-content-docs/current/cdps/release/index.mdx
index 50ad742..373d036 100644
--- a/i18n/ja/docusaurus-plugin-content-docs/current/cdps/release/index.mdx
+++ b/i18n/ja/docusaurus-plugin-content-docs/current/cdps/release/index.mdx
@@ -3,33 +3,46 @@ sidebar_position: 8
---
# 更新ログ
+
- ここでは、各バージョンの更新内容を記録しています。
# 1.0.19 (ドラフト)
+
### 🐞 修正
+
- Log `__init__` の日数を上書きする問題
# 1.0.18
+
### 🌟 新機能
+
- pip 依存性チェック
-- [`@new_thread`](../more/thread#new_thread) デコレータ
+- [`@new_thread`](/docs/cdps/miscellaneous/thread#new_thread) デコレータ
+
### 🐞 修正
+
- Config クラスがシングルトンではない問題
-:::caution
-- プラグイン内の `task` は現在 `task_run` に変更されています [こちらを参照](../more/thread#task_run)
-:::
+ :::caution
+- プラグイン内の `task` は現在 `task_run` に変更されています [こちらを参照](/docs/cdps/miscellaneous/thread#task_run)
+ :::
# 1.0.17 (ホットフィックス)
+
### 🐞 修正
+
- 初期化クラッシュ
# 1.0.16 (ホットフィックス)
+
### 🐞 修正
+
- 初期化クラッシュ
# 1.0.15
+
### 🌟 新機能
+
- イベントデコレータ
- `onCommandEvent`
- `cdps version` (プログラム内コマンド)
-- `cdps exit` (プログラム内コマンド)
\ No newline at end of file
+- `cdps exit` (プログラム内コマンド)
diff --git a/src/components/GithubAuthor/index.tsx b/src/components/GithubAuthor/index.tsx
new file mode 100644
index 0000000..0f6abc6
--- /dev/null
+++ b/src/components/GithubAuthor/index.tsx
@@ -0,0 +1,14 @@
+import styles from "./styles.module.css";
+
+type GithubAuthorChipProps = {
+ name: string;
+}
+
+export default function GithubAuthor({ name }: GithubAuthorChipProps): JSX.Element {
+ return (
+
+
+ @{name}
+
+ )
+}
\ No newline at end of file
diff --git a/src/components/GithubAuthor/styles.module.css b/src/components/GithubAuthor/styles.module.css
new file mode 100644
index 0000000..ff46bff
--- /dev/null
+++ b/src/components/GithubAuthor/styles.module.css
@@ -0,0 +1,17 @@
+.chip {
+ display: inline-flex;
+ align-items: center;
+ gap: 4px;
+ padding: 8px;
+}
+
+.avatar {
+ height: 24px;
+ width: 24px;
+ border-radius: 28px;
+}
+
+.name {
+ font-weight: bold;
+ padding: 0 4px;
+}
diff --git a/src/components/GithubRepositoryLink/index.tsx b/src/components/GithubRepositoryLink/index.tsx
new file mode 100644
index 0000000..810cf88
--- /dev/null
+++ b/src/components/GithubRepositoryLink/index.tsx
@@ -0,0 +1,15 @@
+import styles from "./styles.module.css";
+import GithubIcon from "@site/static/img/github.svg";
+
+type GithubRepositoryLinkProps = {
+ url: string;
+}
+
+export default function GithubRepositoryLink({ url }: GithubRepositoryLinkProps): JSX.Element {
+ return (
+
+
+ 原始碼
+
+ )
+}
\ No newline at end of file
diff --git a/src/components/GithubRepositoryLink/styles.module.css b/src/components/GithubRepositoryLink/styles.module.css
new file mode 100644
index 0000000..0b3812d
--- /dev/null
+++ b/src/components/GithubRepositoryLink/styles.module.css
@@ -0,0 +1,24 @@
+.repolink {
+ display: inline-flex;
+ align-items: center;
+ gap: 4px;
+ padding: 8px;
+ opacity: 0.6;
+ transition: opacity 0.2s ease-in-out;
+}
+
+.repolink:hover {
+ text-decoration: none;
+ opacity: 1;
+}
+
+.icon {
+ height: 24px;
+ width: 24px;
+ fill: var(--ifm-color-secondary-darker);
+}
+
+.name {
+ padding: 0 4px;
+ color: var(--ifm-color-secondary);
+}
diff --git a/src/components/PluginMetaBar/index.tsx b/src/components/PluginMetaBar/index.tsx
new file mode 100644
index 0000000..044ffe7
--- /dev/null
+++ b/src/components/PluginMetaBar/index.tsx
@@ -0,0 +1,18 @@
+import GithubAuthor from "../GithubAuthor";
+import GithubRepositoryLink from "../GithubRepositoryLink";
+import styles from "./styles.module.css";
+
+type PluginMetaBarProps = {
+ author: string;
+ name: string;
+ repository: string;
+}
+
+export default function PluginMetaBar({ author, name, repository }: PluginMetaBarProps): JSX.Element {
+ return (
+
+
+
+
+ )
+}
\ No newline at end of file
diff --git a/src/components/PluginMetaBar/styles.module.css b/src/components/PluginMetaBar/styles.module.css
new file mode 100644
index 0000000..c9e3bee
--- /dev/null
+++ b/src/components/PluginMetaBar/styles.module.css
@@ -0,0 +1,6 @@
+.pluginMetaBar {
+ display: flex;
+ align-items: center;
+ gap: 8px;
+ padding-bottom: 16px;
+}
diff --git a/static/img/github.svg b/static/img/github.svg
new file mode 100644
index 0000000..538ec5b
--- /dev/null
+++ b/static/img/github.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
From 5712c5e0f49eabca07302a2d5e10f9db694a59ae Mon Sep 17 00:00:00 2001
From: Kamiya <58339640+kamiya10@users.noreply.github.com>
Date: Sat, 8 Jun 2024 12:27:53 +0800
Subject: [PATCH 2/4] i18n(component/GithubRepositoryLink): source code
translation
---
i18n/en/code.json | 4 +
.../current.json | 16 ++
i18n/en/docusaurus-theme-classic/footer.json | 10 +-
i18n/ja/code.json | 146 +++++++++---------
.../options.json | 8 +-
.../current.json | 24 ++-
i18n/ja/docusaurus-theme-classic/footer.json | 40 ++---
i18n/ja/docusaurus-theme-classic/navbar.json | 14 +-
src/components/GithubRepositoryLink/index.tsx | 10 +-
9 files changed, 160 insertions(+), 112 deletions(-)
diff --git a/i18n/en/code.json b/i18n/en/code.json
index 3aa6f2d..5eeefc0 100644
--- a/i18n/en/code.json
+++ b/i18n/en/code.json
@@ -285,5 +285,9 @@
"theme.unlistedContent.message": {
"message": "This page is unlisted. Search engines will not index it, and only users having a direct link can access it.",
"description": "The unlisted content banner message"
+ },
+ "component.githubRepositoryLink.sourceCode": {
+ "message": "Source Code",
+ "description": "The label of source code link"
}
}
diff --git a/i18n/en/docusaurus-plugin-content-docs/current.json b/i18n/en/docusaurus-plugin-content-docs/current.json
index 96b3f70..2b7b4fb 100644
--- a/i18n/en/docusaurus-plugin-content-docs/current.json
+++ b/i18n/en/docusaurus-plugin-content-docs/current.json
@@ -10,5 +10,21 @@
"sidebar.apiSidebar.category.氣象": {
"message": "Weather",
"description": "The label for category 氣象 in sidebar apiSidebar"
+ },
+ "sidebar.cdpsSidebar.category.CDPS": {
+ "message": "CDPS",
+ "description": "The label for category CDPS in sidebar cdpsSidebar"
+ },
+ "sidebar.cdpsSidebar.category.擴充開發": {
+ "message": "擴充開發",
+ "description": "The label for category 擴充開發 in sidebar cdpsSidebar"
+ },
+ "sidebar.cdpsSidebar.category.擴充套件": {
+ "message": "擴充套件",
+ "description": "The label for category 擴充套件 in sidebar cdpsSidebar"
+ },
+ "sidebar.cdpsSidebar.category.雜項": {
+ "message": "雜項",
+ "description": "The label for category 雜項 in sidebar cdpsSidebar"
}
}
diff --git a/i18n/en/docusaurus-theme-classic/footer.json b/i18n/en/docusaurus-theme-classic/footer.json
index a00a8a6..6933201 100644
--- a/i18n/en/docusaurus-theme-classic/footer.json
+++ b/i18n/en/docusaurus-theme-classic/footer.json
@@ -25,7 +25,7 @@
},
"link.item.label.CDPS": {
"message": "CDPS",
- "description": "The label of footer link with label=CDPS linking to /docs/cdps/start"
+ "description": "The label of footer link with label=CDPS linking to /docs/cdps/start/"
},
"link.item.label.服務條款": {
"message": "Terms of Services",
@@ -47,10 +47,6 @@
"message": "Discord",
"description": "The label of footer link with label=Discord linking to https://discord.com/invite/exptech-studio"
},
- "link.item.label.Blog": {
- "message": "Blog",
- "description": "The label of footer link with label=Blog linking to /blog"
- },
"link.item.label.GitHub": {
"message": "GitHub",
"description": "The label of footer link with label=GitHub linking to https://github.com/ExpTechTW"
@@ -62,5 +58,9 @@
"copyright": {
"message": "Copyright © 2024 ExpTech Studio. Built with Docusaurus.",
"description": "The footer copyright"
+ },
+ "link.item.label.部落格": {
+ "message": "Blog",
+ "description": "The label of footer link with label=部落格 linking to /blog"
}
}
diff --git a/i18n/ja/code.json b/i18n/ja/code.json
index 96c6c1f..ff3bf6f 100644
--- a/i18n/ja/code.json
+++ b/i18n/ja/code.json
@@ -1,289 +1,293 @@
{
"theme.ErrorPageContent.title": {
"message": "このページはクラッシュした",
- "description": "ページがクラッシュした際のフォールバックページのタイトル"
+ "description": "The title of the fallback page when the page crashed"
},
"theme.BackToTopButton.buttonAriaLabel": {
"message": "トップへ戻る",
- "description": "トップへ戻るボタンのARIAラベル"
+ "description": "The ARIA label for the back to top button"
},
"theme.blog.archive.title": {
"message": "アーカイヴ",
- "description": "ブログのアーカイヴページのページタイトルとヒーロータイトル"
+ "description": "The page & hero title of the blog archive page"
},
"theme.blog.archive.description": {
"message": "アーカイブ",
- "description": "ブログのアーカイブページのページとヒーローの説明"
+ "description": "The page & hero description of the blog archive page"
},
"theme.blog.paginator.navAriaLabel": {
"message": "ブログ一覧ページナビゲーション",
- "description": "ブログのページネーションのARIAラベル"
+ "description": "The ARIA label for the blog pagination"
},
"theme.blog.paginator.newerEntries": {
"message": "新しいエントリー",
- "description": "新しいブログ記事ページ(前のページ)に移動するためのラベル"
+ "description": "The label used to navigate to the newer blog posts page (previous page)"
},
"theme.blog.paginator.olderEntries": {
"message": "古いエントリー",
- "description": "古いブログ記事ページ(次のページ)に移動するためのラベル"
+ "description": "The label used to navigate to the older blog posts page (next page)"
},
"theme.blog.post.paginator.navAriaLabel": {
"message": "ブログ記事ページナビゲーション",
- "description": "ブログ記事ページネーションのARIAラベル"
+ "description": "The ARIA label for the blog posts pagination"
},
"theme.blog.post.paginator.newerPost": {
"message": "新しい投稿",
- "description": "新しい/前の記事に移動するためのブログ記事ボタンラベル"
+ "description": "The blog post button label to navigate to the newer/previous post"
},
"theme.blog.post.paginator.olderPost": {
"message": "古い投稿",
- "description": "古い/次の記事に移動するためのブログ記事ボタンのラベル"
+ "description": "The blog post button label to navigate to the older/next post"
},
"theme.blog.post.plurals": {
"message": "{count}の投稿",
- "description": "\"{count}\"投稿の複数形ラベル。あなたの言語がサポートしている数だけ、複数形(\"|\"で区切られる)を使ってください(https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html 参照)。"
+ "description": "Pluralized label for \"{count} posts\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
},
"theme.blog.tagTitle": {
"message": "タグ\"{tagName}\"の{nPosts}",
- "description": "ブログタグのページタイトル"
+ "description": "The title of the page for a blog tag"
},
"theme.tags.tagsPageLink": {
"message": "すべてのタグを見る",
- "description": "タグ一覧ページをターゲットとするリンクのラベル"
+ "description": "The label of the link targeting the tag list page"
},
"theme.colorToggle.ariaLabel": {
"message": "ダークモードとライトモードを切り替える(現在は{mode})",
- "description": "ナバーカラーモード切り替えのARIAラベル"
+ "description": "The ARIA label for the navbar color mode toggle"
},
"theme.colorToggle.ariaLabel.mode.dark": {
"message": "ダークモード",
- "description": "ダークカラーモードの名前"
+ "description": "The name for the dark color mode"
},
"theme.colorToggle.ariaLabel.mode.light": {
"message": "ライトモード",
- "description": "ライトカラーモードの名前"
+ "description": "The name for the light color mode"
},
"theme.docs.breadcrumbs.navAriaLabel": {
"message": "パン",
- "description": "パンのARIAラベル"
+ "description": "The ARIA label for the breadcrumbs"
},
"theme.docs.DocCard.categoryDescription.plurals": {
"message": "{count}項目 ",
- "description": "生成されたインデックスで、このカテゴリがいくつの項目を含むかについてのカテゴリカードのデフォルトの説明"
+ "description": "The default description for a category card in the generated index about how many items this category includes"
},
"theme.docs.paginator.navAriaLabel": {
"message": "ドキュメントページ",
- "description": "ドキュメントページネーションのARIAラベル"
+ "description": "The ARIA label for the docs pagination"
},
"theme.docs.paginator.previous": {
"message": "前へ",
- "description": "前のドキュメントに移動するためのラベル"
+ "description": "The label used to navigate to the previous doc"
},
"theme.docs.paginator.next": {
"message": "次へ",
- "description": "次のドキュメントに移動するためのラベル"
+ "description": "The label used to navigate to the next doc"
},
"theme.docs.tagDocListPageTitle.nDocsTagged": {
"message": "タグ付けされた1つのドキュメント|{count}タグ付けされたドキュメント",
- "description": "\"{count}\"タグが付けられたドキュメントの複数形ラベル。あなたの言語がサポートしている数だけ、複数形(\"|\"で区切られる)を使ってください(https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html 参照)。"
+ "description": "Pluralized label for \"{count} docs tagged\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
},
"theme.docs.tagDocListPageTitle": {
"message": "{nDocsTagged}を\"{tagName}\"で",
- "description": "ドキュメントタグのページタイトル"
+ "description": "The title of the page for a docs tag"
},
"theme.docs.versionBadge.label": {
"message": "バージョン:{versionLabel}"
},
"theme.docs.versions.unreleasedVersionLabel": {
"message": "これは{siteTitle} {versionLabel}バージョンの未発表ドキュメントです。{versionLabel}バージョンです",
- "description": "未発表のドキュメントバージョンを閲覧していることをユーザーに伝えるためのラベル"
+ "description": "The label used to tell the user that he's browsing an unreleased doc version"
},
"theme.docs.versions.unmaintainedVersionLabel": {
"message": "これは{siteTitle} {versionLabel}のドキュメントで、現在はメンテナンスされていません",
- "description": "未整備のドキュメントを閲覧していることをユーザーに伝えるためのラベル"
+ "description": "The label used to tell the user that he's browsing an unmaintained doc version"
},
"theme.docs.versions.latestVersionSuggestionLabel": {
"message": "最新のドキュメントについては、{latestVersionLink} ({versionLabel}) を参照してください",
- "description": "ユーザーに最新バージョンを確認するよう指示するためのラベル"
+ "description": "The label used to tell the user to check the latest version"
},
"theme.docs.versions.latestVersionLinkLabel": {
"message": "最新バージョン",
- "description": "最新バージョンの提案リンクラベルに使用されるラベル"
+ "description": "The label used for the latest version suggestion link label"
},
"theme.common.editThisPage": {
"message": "このページを編集する",
- "description": "現在のページを編集するためのリンクラベル"
+ "description": "The link label to edit the current page"
},
"theme.common.headingLinkTitle": {
"message": "{heading}への直接リンク",
- "description": "見出しへのリンクのタイトル"
+ "description": "Title for link to heading"
},
"theme.lastUpdated.atDate": {
"message": "オン{date}",
- "description": "ページが最後に更新された日付を表す言葉"
+ "description": "The words used to describe on which date a page has been last updated"
},
"theme.lastUpdated.byUser": {
"message": "{user}に",
- "description": "そのページが最後に更新されたのは誰なのかを表す言葉"
+ "description": "The words used to describe by who the page has been last updated"
},
"theme.lastUpdated.lastUpdatedAtBy": {
"message": "最終更新日{atDate}{byUser}",
- "description": "ページが最後に更新されたのはいつなのか、誰が更新したのかを表示するための文"
+ "description": "The sentence used to display when a page has been last updated, and by who"
},
"theme.navbar.mobileVersionsDropdown.label": {
"message": "バージョン",
- "description": "モバイル・ビューでのナバー・バージョン・ドロップダウンのラベル"
+ "description": "The label for the navbar versions dropdown on mobile view"
},
"theme.NotFound.title": {
"message": "ページが見つかりません",
- "description": "404エラーページのタイトル"
+ "description": "The title of the 404 page"
},
"theme.tags.tagsListLabel": {
"message": "タグ:",
- "description": "タグリストと並んだラベル"
+ "description": "The label alongside a tag list"
},
"theme.admonition.caution": {
"message": "注意",
- "description": "注意(:::caution)に使われるデフォルトのラベル"
+ "description": "The default label used for the Caution admonition (:::caution)"
},
"theme.admonition.danger": {
"message": "危険",
- "description": "危険(:::danger)に使われるデフォルトのラベル"
+ "description": "The default label used for the Danger admonition (:::danger)"
},
"theme.admonition.info": {
"message": "情報",
- "description": "情報 (:::info) に使われるデフォルトのラベル"
+ "description": "The default label used for the Info admonition (:::info)"
},
"theme.admonition.note": {
"message": "注釈",
- "description": "注釈 (:::note) に使われるデフォルトのラベル"
+ "description": "The default label used for the Note admonition (:::note)"
},
"theme.admonition.tip": {
"message": "ヒント",
- "description": "ヒント(:::tip)に使われるデフォルトのラベル"
+ "description": "The default label used for the Tip admonition (:::tip)"
},
"theme.admonition.warning": {
"message": "警告",
- "description": "警告(:::warning)に使われるデフォルトのラベル"
+ "description": "The default label used for the Warning admonition (:::warning)"
},
"theme.AnnouncementBar.closeButtonAriaLabel": {
"message": "クローズ",
- "description": "アナウンスバーのクローズボタンのARIAラベル"
+ "description": "The ARIA label for close button of announcement bar"
},
"theme.blog.sidebar.navAriaLabel": {
"message": "ブログ最近の記事ナビゲーション",
- "description": "ブログのサイドバーにある最近の記事のARIAラベル"
+ "description": "The ARIA label for recent posts in the blog sidebar"
},
"theme.CodeBlock.copied": {
"message": "コード",
- "description": "コードブロックにコピーされたボタンラベル"
+ "description": "The copied button label on code blocks"
},
"theme.CodeBlock.copyButtonAriaLabel": {
"message": "コードをクリップボードにコピーする",
- "description": "コードブロックのコピーボタンのARIAラベル"
+ "description": "The ARIA label for copy code blocks button"
},
"theme.CodeBlock.copy": {
"message": "コピー",
- "description": "コードブロックのコピーボタンラベル"
+ "description": "The copy button label on code blocks"
},
"theme.CodeBlock.wordWrapToggle": {
"message": "単語折り返し切り替え",
- "description": "コードブロック行の単語折り返し切り替えボタンのtitle属性"
+ "description": "The title attribute for toggle word wrapping button of code block lines"
},
"theme.DocSidebarItem.expandCategoryAriaLabel": {
"message": "サイドバーのカテゴリー「{label}」を拡張する",
- "description": "サイドバーのカテゴリーを展開するARIAラベル"
+ "description": "The ARIA label to expand the sidebar category"
},
"theme.DocSidebarItem.collapseCategoryAriaLabel": {
"message": "サイドバーのカテゴリー「{label}」を拡張する",
- "description": "サイドバーのカテゴリーを折りたたむためのARIAラベル"
+ "description": "The ARIA label to collapse the sidebar category"
},
"theme.NavBar.navAriaLabel": {
"message": "メイン",
- "description": "メイン・ナビゲーションのARIAラベル "
+ "description": "The ARIA label for the main navigation"
},
"theme.navbar.mobileLanguageDropdown.label": {
"message": "言語",
- "description": "モバイル言語スイッチャードロップダウンのラベル "
+ "description": "The label for the mobile language switcher dropdown"
},
"theme.NotFound.p1": {
"message": "お探しのものは見つかりませんでした",
- "description": "404エラーページの最初の段落"
+ "description": "The first paragraph of the 404 page"
},
"theme.NotFound.p2": {
"message": "リンク元のサイトのオーナーに連絡し、リンク切れを伝えてください",
- "description": "404エラーページの第2段落"
+ "description": "The 2nd paragraph of the 404 page"
},
"theme.TOCCollapsible.toggleButtonLabel": {
"message": "このページでは",
- "description": "折りたたみ可能なTOCコンポーネントのボタンで使用されるラベル"
+ "description": "The label used by the button on the collapsible TOC component"
},
"theme.blog.post.readMore": {
"message": "続きを読む",
- "description": "ブログ記事の抜粋で使用される、ブログ記事全体へのリンクラベル"
+ "description": "The label used in blog post item excerpts to link to full blog posts"
},
"theme.blog.post.readMoreLabel": {
"message": "{title}についてもっと読む",
- "description": "抜粋からブログ記事全体へのリンクのためのARIAラベル"
+ "description": "The ARIA label for the link to full blog posts from excerpts"
},
"theme.blog.post.readingTime.plurals": {
"message": "{readingTime}分読み",
- "description": "\"{readingTime}分読み\"タグが付けられたドキュメントの複数形ラベル。あなたの言語がサポートしている数だけ、複数形(\"|\"で区切られる)を使ってください(https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html 参照)。"
+ "description": "Pluralized label for \"{readingTime} min read\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
},
"theme.docs.breadcrumbs.home": {
"message": "ホームページ",
- "description": "パンくずのホームページのARIAラベル"
+ "description": "The ARIA label for the home page in the breadcrumbs"
},
"theme.docs.sidebar.collapseButtonTitle": {
"message": "サイドバーの折りたたみ",
- "description": "ドキュメントサイドバーの折りたたみボタンのtitle属性"
+ "description": "The title attribute for collapse button of doc sidebar"
},
"theme.docs.sidebar.collapseButtonAriaLabel": {
"message": "サイドバーの折りたたみ",
- "description": "ドキュメントサイドバーの折りたたみボタンのtitle属性"
+ "description": "The title attribute for collapse button of doc sidebar"
},
"theme.docs.sidebar.navAriaLabel": {
"message": "ドキュメントサイドバー",
- "description": "サイドバーナビゲーションのARIAラベル"
+ "description": "The ARIA label for the sidebar navigation"
},
"theme.docs.sidebar.closeSidebarButtonAriaLabel": {
"message": "ナビゲーションバーを閉じる",
- "description": "モバイルサイドバーの閉じるボタンのARIAラベル"
+ "description": "The ARIA label for close button of mobile sidebar"
},
"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel": {
"message": "← メインメニューに戻る",
- "description": "メインメニューに戻るための戻るボタンのラベル、モバイルナンバーサイドバーセカンダリーメニュー内(特にドキュメントサイドバーを表示するために使用される)"
+ "description": "The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)"
},
"theme.docs.sidebar.toggleSidebarButtonAriaLabel": {
"message": "トグルナビゲーションバー",
- "description": "モバイルナビゲーションのハンバーガーメニューボタンのARIAラベル"
+ "description": "The ARIA label for hamburger menu button of mobile navigation"
},
"theme.docs.sidebar.expandButtonTitle": {
"message": "サイドバーを拡大する",
- "description": "ドキュメントサイドバーの展開ボタンのARIAラベルとtitle属性"
+ "description": "The ARIA label and title attribute for expand button of doc sidebar"
},
"theme.docs.sidebar.expandButtonAriaLabel": {
"message": "サイドバーを拡大する",
- "description": "ドキュメントサイドバーの展開ボタンのARIAラベルとtitle属性"
+ "description": "The ARIA label and title attribute for expand button of doc sidebar"
},
"theme.ErrorPageContent.tryAgain": {
"message": "再試行",
- "description": "Reactのエラー境界がエラーを捕捉したときに、再描画を試みるボタンのラベル"
+ "description": "The label of the button to try again rendering when the React error boundary captures an error"
},
"theme.common.skipToMainContent": {
"message": "本文へスキップ",
- "description": "アクセシビリティのために使用されるスキップ・トゥ・コンテンツ・ラベルは、キーボードのタブ/エンター・ナビゲーションでメイン・コンテンツに素早く移動できる"
+ "description": "The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation"
},
"theme.tags.tagsPageTitle": {
"message": "タグ",
- "description": "タグ一覧ページのタイトル"
+ "description": "The title of the tag list page"
},
"theme.unlistedContent.title": {
"message": "未掲載ページ",
- "description": "未掲載コンテンツのバナータイトル"
+ "description": "The unlisted content banner title"
},
"theme.unlistedContent.message": {
"message": "このページは未掲載です、検索エンジンにインデックスされず、直接リンクを持つユーザーだけがアクセスできます",
- "description": "未掲載コンテンツのバナーメッセージ"
+ "description": "The unlisted content banner message"
+ },
+ "component.githubRepositoryLink.sourceCode": {
+ "message": "ソースコード",
+ "description": "The label of source code link"
}
}
diff --git a/i18n/ja/docusaurus-plugin-content-blog/options.json b/i18n/ja/docusaurus-plugin-content-blog/options.json
index 04dd8a2..0c5d270 100644
--- a/i18n/ja/docusaurus-plugin-content-blog/options.json
+++ b/i18n/ja/docusaurus-plugin-content-blog/options.json
@@ -1,14 +1,14 @@
{
"title": {
"message": "ブログ",
- "description": "SEOで使われるブログのタイトル"
+ "description": "The title for the blog used in SEO"
},
"description": {
"message": "ブログ",
- "description": "SEOで使用されるブログの説明文"
+ "description": "The description for the blog used in SEO"
},
"sidebar.title": {
"message": "最近の記事",
- "description": "左サイドバーのラベル"
+ "description": "The label for the left sidebar"
}
-}
\ No newline at end of file
+}
diff --git a/i18n/ja/docusaurus-plugin-content-docs/current.json b/i18n/ja/docusaurus-plugin-content-docs/current.json
index 11e14c4..9a35977 100644
--- a/i18n/ja/docusaurus-plugin-content-docs/current.json
+++ b/i18n/ja/docusaurus-plugin-content-docs/current.json
@@ -1,14 +1,30 @@
{
"version.label": {
"message": "次のページ",
- "description": "現在のバージョンのラベル"
+ "description": "The label for version current"
},
"sidebar.apiSidebar.category.地震": {
"message": "地震",
- "description": "サイドバーapiSidebarのカテゴリ地震のラベル"
+ "description": "The label for category 地震 in sidebar apiSidebar"
},
"sidebar.apiSidebar.category.氣象": {
"message": "天気",
- "description": "サイドバーapiSidebarのカテゴリ氣象のラベル"
+ "description": "The label for category 氣象 in sidebar apiSidebar"
+ },
+ "sidebar.cdpsSidebar.category.CDPS": {
+ "message": "CDPS",
+ "description": "The label for category CDPS in sidebar cdpsSidebar"
+ },
+ "sidebar.cdpsSidebar.category.拡張機能": {
+ "message": "拡張機能",
+ "description": "The label for category 拡張機能 in sidebar cdpsSidebar"
+ },
+ "sidebar.cdpsSidebar.category.拡張機能開発": {
+ "message": "拡張機能開発",
+ "description": "The label for category 拡張機能開発 in sidebar cdpsSidebar"
+ },
+ "sidebar.cdpsSidebar.category.その他": {
+ "message": "その他",
+ "description": "The label for category その他 in sidebar cdpsSidebar"
}
-}
\ No newline at end of file
+}
diff --git a/i18n/ja/docusaurus-theme-classic/footer.json b/i18n/ja/docusaurus-theme-classic/footer.json
index 7170933..5e06cf1 100644
--- a/i18n/ja/docusaurus-theme-classic/footer.json
+++ b/i18n/ja/docusaurus-theme-classic/footer.json
@@ -1,66 +1,66 @@
{
"link.title.技術文件": {
"message": "ドキュメント",
- "description": "フッターのリンクカラムのタイトルにtitle=技術文件 を付けたもの"
+ "description": "The title of the footer links column with title=技術文件 in the footer"
},
"link.title.ExpTech Studio": {
"message": "ExpTech Studio",
- "description": "フッターのリンクカラムのタイトルにtitle=ExpTech Studio を付けたもの"
+ "description": "The title of the footer links column with title=ExpTech Studio in the footer"
},
"link.title.社群連結": {
"message": "ソーシャル",
- "description": "フッターのリンクカラムのタイトルにtitle=社群連結 を付けたもの"
+ "description": "The title of the footer links column with title=社群連結 in the footer"
},
"link.title.其他連結": {
"message": "その他",
- "description": "フッターのリンクカラムのタイトルにtitle=其他連結 を付けたもの"
+ "description": "The title of the footer links column with title=其他連結 in the footer"
},
"link.item.label.API": {
"message": "API",
- "description": "docs/api/earthquake/reportにリンクしているlabel=APIのフッターリンクのラベル"
+ "description": "The label of footer link with label=API linking to /docs/api/earthquake/report"
},
"link.item.label.API Wrapper": {
"message": "API Wrapper",
- "description": "/docs/js/installationにリンクしているlabel=API Wrapperのフッターリンクのラベル"
+ "description": "The label of footer link with label=API Wrapper linking to /docs/js/installation"
},
"link.item.label.CDPS": {
"message": "CDPS",
- "description": "/docs/cdps/start にリンクしているlabel=CDPSのフッターリンクのラベル"
+ "description": "The label of footer link with label=CDPS linking to /docs/cdps/start/"
},
"link.item.label.服務條款": {
"message": "利用規約",
- "description": "https://exptech.com.tw/tosにリンクしているlabel=服務條款のフッターリンクのラベル"
+ "description": "The label of footer link with label=服務條款 linking to https://exptech.com.tw/tos"
},
"link.item.label.隱私權聲明": {
"message": "プライバシーポリシー",
- "description": "https://raw.githubusercontent.com/ExpTechTW/TREM/Release/terms/privacy_policyにリンクしているlabel=隱私權聲明のフッターリンクのラベル"
+ "description": "The label of footer link with label=隱私權聲明 linking to https://raw.githubusercontent.com/ExpTechTW/TREM/Release/terms/privacy_policy"
},
"link.item.label.Youtube": {
"message": "Youtube",
- "description": "https://www.youtube.com/@exptechtwにリンクしているlabel=Youtubeのフッターリンクのラベル"
+ "description": "The label of footer link with label=Youtube linking to https://www.youtube.com/@exptechtw"
},
"link.item.label.Instagram": {
"message": "Instagram",
- "description": "https://www.instagram.com/exptech.twにリンクしているlabel=Instagramのフッターリンクのラベル"
+ "description": "The label of footer link with label=Instagram linking to https://www.instagram.com/exptech.tw"
},
"link.item.label.Discord": {
"message": "Discord",
- "description": "https://discord.com/invite/exptech-studioにリンクしているlabel=Discordのフッターリンクのラベル"
- },
- "link.item.label.Blog": {
- "message": "ブログ",
- "description": "/blogにリンクしているlabel=Blogのフッターリンクのラベル"
+ "description": "The label of footer link with label=Discord linking to https://discord.com/invite/exptech-studio"
},
"link.item.label.GitHub": {
"message": "GitHub",
- "description": "https://github.com/ExpTechTWにリンクしているlabel=GitHubのフッターリンクのラベル"
+ "description": "The label of footer link with label=GitHub linking to https://github.com/ExpTechTW"
},
"link.item.label.Ko-fi": {
"message": "Ko-fi",
- "description": "https://ko-fi.com/exptechにリンクしているlabel=Ko-fiのフッターリンクのラベル"
+ "description": "The label of footer link with label=Ko-fi linking to https://ko-fi.com/exptech"
},
"copyright": {
"message": "Copyright © 2024 ExpTech Studio. Built with Docusaurus.",
- "description": "フッターのコピーライト"
+ "description": "The footer copyright"
+ },
+ "link.item.label.部落格": {
+ "message": "ブログ",
+ "description": "The label of footer link with label=部落格 linking to /blog"
}
-}
\ No newline at end of file
+}
diff --git a/i18n/ja/docusaurus-theme-classic/navbar.json b/i18n/ja/docusaurus-theme-classic/navbar.json
index ae7de57..291a274 100644
--- a/i18n/ja/docusaurus-theme-classic/navbar.json
+++ b/i18n/ja/docusaurus-theme-classic/navbar.json
@@ -1,26 +1,26 @@
{
"title": {
"message": "ExpTechドキュメント",
- "description": "ナビバーのタイトル"
+ "description": "The title in the navbar"
},
"logo.alt": {
"message": "ExpTech Logo",
- "description": "ナバーLogoのaltテキスト"
+ "description": "The alt text of navbar logo"
},
"item.label.API": {
"message": "API",
- "description": "ラベルAPI付きナバーアイテム"
+ "description": "Navbar item with label API"
},
"item.label.API Wrapper": {
"message": "API Wrapper",
- "description": "ラベルAPI Wrapper付きナバーアイテム"
+ "description": "Navbar item with label API Wrapper"
},
"item.label.CDPS": {
"message": "CDPS",
- "description": "ラベルCDPS付きナバーアイテム"
+ "description": "Navbar item with label CDPS"
},
"item.label.GitHub": {
"message": "GitHub",
- "description": "ラベルGitHub付きナバーアイテム"
+ "description": "Navbar item with label GitHub"
}
-}
\ No newline at end of file
+}
diff --git a/src/components/GithubRepositoryLink/index.tsx b/src/components/GithubRepositoryLink/index.tsx
index 810cf88..cba3b2d 100644
--- a/src/components/GithubRepositoryLink/index.tsx
+++ b/src/components/GithubRepositoryLink/index.tsx
@@ -1,6 +1,8 @@
import styles from "./styles.module.css";
import GithubIcon from "@site/static/img/github.svg";
+import Translate, {translate} from '@docusaurus/Translate';
+
type GithubRepositoryLinkProps = {
url: string;
}
@@ -9,7 +11,13 @@ export default function GithubRepositoryLink({ url }: GithubRepositoryLinkProps)
return (
- 原始碼
+
+
+ 原始碼
+
+
)
}
\ No newline at end of file
From 1ff76028426a8cfa1d481623c0fb41a9f4c5e5be Mon Sep 17 00:00:00 2001
From: Kamiya <58339640+kamiya10@users.noreply.github.com>
Date: Sat, 8 Jun 2024 12:31:12 +0800
Subject: [PATCH 3/4] fix(component/GithubRepositoryLink): label color
---
src/components/GithubRepositoryLink/styles.module.css | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/components/GithubRepositoryLink/styles.module.css b/src/components/GithubRepositoryLink/styles.module.css
index 0b3812d..4753bea 100644
--- a/src/components/GithubRepositoryLink/styles.module.css
+++ b/src/components/GithubRepositoryLink/styles.module.css
@@ -15,10 +15,10 @@
.icon {
height: 24px;
width: 24px;
- fill: var(--ifm-color-secondary-darker);
+ fill: var(--ifm-font-color-base);
}
.name {
padding: 0 4px;
- color: var(--ifm-color-secondary);
+ color: var(--ifm-font-color-base);
}
From 00d5ac0d6d97be29a5e16464bb14002855611f51 Mon Sep 17 00:00:00 2001
From: Kamiya <58339640+kamiya10@users.noreply.github.com>
Date: Sat, 8 Jun 2024 12:34:51 +0800
Subject: [PATCH 4/4] fix(cdps/plugins): bad usage of unordered list
---
docs/cdps/plugins/color_log.mdx | 8 ++++----
docs/cdps/plugins/report.mdx | 2 +-
docs/cdps/plugins/websocketclient.mdx | 4 ++--
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/docs/cdps/plugins/color_log.mdx b/docs/cdps/plugins/color_log.mdx
index 783bacc..c9e11a4 100644
--- a/docs/cdps/plugins/color_log.mdx
+++ b/docs/cdps/plugins/color_log.mdx
@@ -14,25 +14,25 @@ import PluginMetaBar from "@site/src/components/PluginMetaBar";
:::danger
-- 此擴充套件使用了 **「Inject 注入」**,你可以在[這裡](/docs/cdps/miscellaneous/inject)查看詳細資訊。
+此擴充套件使用了 **「Inject 注入」**,你可以在[這裡](/docs/cdps/miscellaneous/inject)查看詳細資訊。
:::
:::caution
-- 此擴充套件使用了 **「完全載入 (focus-load)」**,你可以在[這裡](/docs/cdps/miscellaneous/focus-load)查看詳細資訊。
+此擴充套件使用了 **「完全載入 (focus-load)」**,你可以在[這裡](/docs/cdps/miscellaneous/focus-load)查看詳細資訊。
:::
:::info
-- 此擴充套件使用了 **「優先載入 (pre-load)」**,你可以在[這裡](/docs/cdps/miscellaneous/pre-load)查看詳細資訊。
+此擴充套件使用了 **「優先載入 (pre-load)」**,你可以在[這裡](/docs/cdps/miscellaneous/pre-load)查看詳細資訊。
:::
:::note
-- 此擴充套件使用了 **「Inject 注入」** 修改 CDPS 的原生 Log 方法,可能導致 Log 出現問題,請謹慎使用。
+此擴充套件使用了 **「Inject 注入」** 修改 CDPS 的原生 Log 方法,可能導致 Log 出現問題,請謹慎使用。
:::
diff --git a/docs/cdps/plugins/report.mdx b/docs/cdps/plugins/report.mdx
index 74bbe76..0dc64c4 100644
--- a/docs/cdps/plugins/report.mdx
+++ b/docs/cdps/plugins/report.mdx
@@ -14,7 +14,7 @@ import PluginMetaBar from "@site/src/components/PluginMetaBar";
:::note
-- 此擴充套件使用了已經遺棄的方法,將無法在 CDPS `>= 1.0.18` 的版本上執行。
+此擴充套件使用了已經遺棄的方法,將無法在 CDPS `>= 1.0.18` 的版本上執行。
:::
diff --git a/docs/cdps/plugins/websocketclient.mdx b/docs/cdps/plugins/websocketclient.mdx
index 8ab0321..825fc6c 100644
--- a/docs/cdps/plugins/websocketclient.mdx
+++ b/docs/cdps/plugins/websocketclient.mdx
@@ -14,13 +14,13 @@ import PluginMetaBar from "@site/src/components/PluginMetaBar";
:::caution
-- 此擴充套件使用了 **「完全載入 (focus-load)」**,你可以在[這裡](/docs/cdps/miscellaneous/focus-load)查看詳細資訊。
+此擴充套件使用了 **「完全載入 (focus-load)」**,你可以在[這裡](/docs/cdps/miscellaneous/focus-load)查看詳細資訊。
:::
:::info
-- 此擴充套件使用了 **「優先載入 (pre-load)」**,你可以在[這裡](/docs/cdps/miscellaneous/pre-load)查看詳細資訊。
+此擴充套件使用了 **「優先載入 (pre-load)」**,你可以在[這裡](/docs/cdps/miscellaneous/pre-load)查看詳細資訊。
:::