-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from ExpTechTW/cdps
- Loading branch information
Showing
45 changed files
with
1,059 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,5 @@ sidebar_position: 5 | |
--- | ||
|
||
# 更多 | ||
- 更多你可能還想知道的東西!!! | ||
- 更多你可能還想知道的東西!!! | ||
- [點擊前往](../more/index.mdx) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
sidebar_position: 6 | ||
--- | ||
|
||
# color_log `1.0.2` | ||
:::danger | ||
- 使用了 `Inject 注入` [點擊查看](../more/inject.mdx) | ||
::: | ||
:::caution | ||
- 使用了 `完全載入(focus-load)` [點擊查看](../more/focus_load.mdx) | ||
::: | ||
:::info | ||
- 使用了 `優先載入(pre-load)` [點擊查看](../more/pre_load.mdx) | ||
::: | ||
:::note | ||
- 此 擴充 使用 `Inject 注入` 修改 CDPS 的原生 Log 方法,可能導致 Log 問題,請謹慎使用。 | ||
::: | ||
### 作者 | ||
- [`YuYu1015`](https://github.com/whes1015) | ||
### 說明 | ||
- CDPS 的 顏色 Log 輸出 | ||
## 依賴 | ||
### CDPS 依賴 | ||
| 名稱 | 版本 | | ||
| --------- | ---------- | | ||
| `CDPS`| `>= 1.0.18` | | ||
### PyPI 依賴 | ||
- 無 | ||
## 原始碼 | ||
- [GitHub](https://github.com/ExpTechTW/CDPS-color_log) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
sidebar_position: 3 | ||
--- | ||
|
||
# discordwebhook `1.0.1` | ||
## 作者 | ||
- [`PiscesXD`](https://github.com/PiscesXD) | ||
## 說明 | ||
- Discord Webhook | ||
## 依賴 | ||
### CDPS 依賴 | ||
| 名稱 | 版本 | | ||
| --------- | ---------- | | ||
| `CDPS`| `>= 1.0.13` | | ||
### PyPI 依賴 | ||
- 未知 | ||
## 原始碼 | ||
- [GitHub](https://github.com/PiscesXD/cdps-discordwebhook) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
sidebar_position: 4 | ||
--- | ||
|
||
# report `1.0.1` | ||
:::note | ||
- 此 擴充 使用了已經遺棄的方法,不能在 CDPS `>= 1.0.18` 的版本上執行。 | ||
::: | ||
### 作者 | ||
- [`Yoyo0901`](https://github.com/Yoyochou0901) | ||
### 說明 | ||
- CDPS 接收地震報告 | ||
## 依賴 | ||
### CDPS 依賴 | ||
| 名稱 | 版本 | | ||
| --------- | ---------- | | ||
| `CDPS`| `>= 1.0.13` | | ||
### PyPI 依賴 | ||
- 未知 | ||
## 原始碼 | ||
- [GitHub](https://github.com/ExpTechTW/CDPS-report) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
sidebar_position: 5 | ||
--- | ||
|
||
# websocketclient `1.0.4` | ||
:::caution | ||
- 使用了 `完全載入(focus-load)` [點擊查看](../more/focus_load.mdx) | ||
::: | ||
:::info | ||
- 使用了 `優先載入(pre-load)` [點擊查看](../more/pre_load.mdx) | ||
::: | ||
### 作者 | ||
- [`yayacat`](https://github.com/yayacat) | ||
### 說明 | ||
- CDPS 的 websocket client擴充 | ||
## 依賴 | ||
### CDPS 依賴 | ||
| 名稱 | 版本 | | ||
| --------- | ---------- | | ||
| `CDPS`| `>= 1.0.18` | | ||
### PyPI 依賴 | ||
| 名稱 | 版本 | | ||
| --------- | ---------- | | ||
| `websocket-client`| `>= 1.8.0` | | ||
## 原始碼 | ||
- [GitHub](https://github.com/ExpTechTW/CDPS-websocketclient) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
i18n/ja/docusaurus-plugin-content-docs/current/cdps/command/index.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
--- | ||
sidebar_position: 3 | ||
--- | ||
|
||
# コマンド | ||
- CDPSは簡単なCLIツールを提供して、対応する操作を実行します。 | ||
:::note | ||
- ソースコード以下のコマンドは、`cdps`を`python main.py`に置き換える必要があります。 | ||
::: | ||
|
||
## CDPSのヘルプメッセージを表示 | ||
- `-h` `--help` | ||
```bash | ||
cdps -h | ||
``` | ||
:::note | ||
- 子コマンドのヘルプメッセージを見ることができます。 | ||
- 例:`cdps pack -h` | ||
::: | ||
|
||
## CDPSのバージョンを表示 | ||
- `-v` `--version` | ||
```bash | ||
cdps -v | ||
``` | ||
|
||
## CDPSの初期化 | ||
```bash | ||
cdps init | ||
``` | ||
|
||
## CDPSの起動 | ||
- `パラメータなし` `start` | ||
```bash | ||
cdps start | ||
``` | ||
|
||
## デフォルト設定 (config.yml) を再生成 | ||
```bash | ||
cdps gendefault | ||
``` | ||
|
||
## パッケージング | ||
```bash | ||
cdps pack --name {フォルダ名} | ||
``` | ||
|
||
## ホットリロード | ||
```bash | ||
cdps plugin reload {フォルダ名} | ||
``` |
17 changes: 17 additions & 0 deletions
17
i18n/ja/docusaurus-plugin-content-docs/current/cdps/config/index.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
sidebar_position: 2 | ||
--- | ||
|
||
# 設定 | ||
- あなたのCDPSサーバーをカスタマイズします。 | ||
|
||
## 設定ファイル | ||
- `./config.yml` | ||
```yml | ||
version: 1 # 設定ファイルのバージョン番号 | ||
|
||
# "DEBUG" , "INFO" , "WARN" , "ERROR" | ||
log_level: "DEBUG" # ログレベル | ||
|
||
log_save_days: 7 # ログの保存期間(日数) | ||
``` |
20 changes: 20 additions & 0 deletions
20
i18n/ja/docusaurus-plugin-content-docs/current/cdps/develop/index.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
sidebar_position: 6 | ||
--- | ||
|
||
# 開発 | ||
- これは `CDPS` の開発に関するドキュメントです。拡張機能の開発については[こちらをクリックしてください](../plugin/index.mdx)。 | ||
:::note | ||
- 一般ユーザーの場合、このセクションはスキップしてください(急いで!)。 | ||
::: | ||
|
||
## ソースコードからの起動 | ||
- ソースコードをクローンします。 | ||
- ルートディレクトリで `python main.py` を実行して CDPS を起動します。 | ||
|
||
## 貢献 | ||
- GitHub で [PR](https://github.com/ExpTechTW/CDPS/pulls) を提出します。 | ||
:::tip | ||
- 開発時は `シンプル` であるべきです。 | ||
- すべてのユーザーに必要な機能でない場合、[Inject 注入](../more/inject.mdx)を利用して実装することができます。 | ||
::: |
Oops, something went wrong.