Skip to content

Commit 4e0464b

Browse files
committed
Doc: modify compile documents
1 parent fdd5ad8 commit 4e0464b

5 files changed

Lines changed: 98 additions & 2 deletions

File tree

docs/Compile/Linux.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -911,4 +911,25 @@ After install sdk and runtime, Run again:
911911
./Script/build_appimage.sh
912912
913913
- [create_plugin.sh]: Generate plugin from template
914+
915+
k@k:/home/RabbitRemoteControl$ ./Script/create_plugin.sh -h
916+
917+
create_plugin.sh - Generate plugin from template
918+
919+
Usage: ./Script/create_plugin.sh [OPTION] PluginName
920+
921+
Options:
922+
-h, --help Show this help message
923+
-v, --verbose[=LEVEL] Set verbose mode. [LEVEL: ON, OFF]
924+
925+
Directory options:
926+
--install=DIR Set installation directory
927+
928+
Other options:
929+
--name=NAME Plugin name
930+
--template=NAME Template name. [NAME: Base(Default), Desktop, Server, QtEvent]
931+
932+
Examples:
933+
./Script/create_plugin.sh --name=Server
934+
914935
- [deploy.sh](../../deploy.sh): Deploy. Only used by administarotr

docs/Compile/Linux_zh_CN.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,4 +1093,25 @@ CMake 使用参数 -DENABLE_UPDATE_TRANSLATIONS=ON 会自行产生资源文件
10931093
./Script/build_appimage.sh
10941094
10951095
- [create_plugin.sh]: 从模板产生插件。
1096+
1097+
k@k:/home/RabbitRemoteControl$ ./Script/create_plugin.sh -h
1098+
1099+
create_plugin.sh - Generate plugin from template
1100+
1101+
Usage: ./Script/create_plugin.sh [OPTION] PluginName
1102+
1103+
Options:
1104+
-h, --help Show this help message
1105+
-v, --verbose[=LEVEL] Set verbose mode. [LEVEL: ON, OFF]
1106+
1107+
Directory options:
1108+
--install=DIR Set installation directory
1109+
1110+
Other options:
1111+
--name=NAME Plugin name
1112+
--template=NAME Template name. [NAME: Base(Default), Desktop, Server, QtEvent]
1113+
1114+
Examples:
1115+
./Script/create_plugin.sh --name=Server
1116+
10961117
- [deploy.sh](../../deploy.sh): 分发版本。仅由管理员使用。

docs/Compile/Windows.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,4 +428,31 @@ See: [Compile integration](../../.github/workflows/msvc.yml)
428428

429429
CMake uses the parameter -DENABLE_UPDATE_TRANSLATIONS=ON
430430
to automatically generate resource files and update the resource files.
431-
After updating, you can directly modify the .ts files.
431+
After updating, you can directly modify the .ts files.
432+
433+
### Script
434+
435+
- [create_plugin.sh]: Generate plugin from template
436+
437+
k@DESKTOP MSYS /d/source/RabbitRemoteControl
438+
$ ./Script/create_plugin.sh -h
439+
440+
create_plugin.sh - Generate plugin from template
441+
442+
Usage: ./Script/create_plugin.sh [OPTION] PluginName
443+
444+
Options:
445+
-h, --help Show this help message
446+
-v, --verbose[=LEVEL] Set verbose mode. [LEVEL: ON, OFF]
447+
448+
Directory options:
449+
--install=DIR Set installation directory
450+
451+
Other options:
452+
--name=NAME Plugin name
453+
--template=NAME Template name. [NAME: Base(Default), Desktop, Server, QtEvent]
454+
455+
Examples:
456+
./Script/create_plugin.sh --name=Server
457+
458+
- [deploy.sh](../../deploy.sh): Deploy. Only used by administarotr

docs/Compile/Windows_zh_CN.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,3 +429,30 @@ Windows10 及以后的版本需要 [npcap](https://npcap.com)
429429

430430
CMake 使用参数 -DENABLE_UPDATE_TRANSLATIONS=ON 会自行产生资源文件,并更新资源文件。
431431
更新后,你可以直接修改 .ts 文件。
432+
433+
### 脚本
434+
435+
- [create_plugin.sh]: 从模板产生插件。
436+
437+
k@DESKTOP MSYS /d/source/RabbitRemoteControl
438+
$ ./Script/create_plugin.sh -h
439+
440+
create_plugin.sh - Generate plugin from template
441+
442+
Usage: ./Script/create_plugin.sh [OPTION] PluginName
443+
444+
Options:
445+
-h, --help Show this help message
446+
-v, --verbose[=LEVEL] Set verbose mode. [LEVEL: ON, OFF]
447+
448+
Directory options:
449+
--install=DIR Set installation directory
450+
451+
Other options:
452+
--name=NAME Plugin name
453+
--template=NAME Template name. [NAME: Base(Default), Desktop, Server, QtEvent]
454+
455+
Examples:
456+
./Script/create_plugin.sh --name=Server
457+
458+
- [deploy.sh](../../deploy.sh): 分发版本。仅由管理员使用。

docs/Doxygen/Chinese.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
\image html docs/Image/PluginSequenceDiagram.svg
7272
+ 用脚本从模板生成插件: Script/create_plugin.sh
7373
\code
74-
./Script/create_plugin.sh -h
74+
./Script/create_plugin.sh -h
7575
7676
create_plugin.sh - Generate plugin from template
7777

0 commit comments

Comments
 (0)