Skip to content

Commit 34b9e0b

Browse files
committed
修正文档错误
1 parent aa4a07d commit 34b9e0b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/manual/commandtools.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ Luban.Core中实现一个默认管线DefaultPipeline,名为default。使用者
174174
|l10n.convertTextKeyToValue|执行静态本地化,将key替换为对应语言的文本值|| -x l10n.convertTextKeyToValue=1|
175175
|l10n.textListFile|输出的配置中所有text key的列表的文件,配合 DataTarget text-list使用|
176176
|pathValidator.rootDir|path校验器搜索文件所用的根目录|| -x pathValidator.rootDir=/xx/yy|
177-
|{code|data}.lineEnding|生成的代码和数据文件的行尾符。该选项只对文本类型的输出文件有效,对于二进制格式如bin、bson之类的格式无效|可为CR、LF、CRLF,如果未指定则取Environment.NewLine为行尾符|-x lineEnding=LF, -x code.LineEnding=LF、-x data.lineEnding=LF|
177+
|{code\|data}.lineEnding|生成的代码和数据文件的行尾符。该选项只对文本类型的输出文件有效,对于二进制格式如bin、bson之类的格式无效|可为CR、LF、CRLF,如果未指定则取Environment.NewLine为行尾符|-x lineEnding=LF, -x code.LineEnding=LF、-x data.lineEnding=LF|
178178
|json.compact|是否输出紧凑无缩进的json数据,与json或json2 dataTarget配合使用,默认为0|0、1、true、false|-x compact=1|
179179
|{dataTarget}.fileExt|输出数据文件的文件名后缀||-x bin.fileExt=bin|
180180
|~~{dataTarget}.outputDataExtension~~|输出数据文件的文件名后缀。v2.12.0版本移除,改名为fileExt||-x bin.outputDataExtension=bin|

i18n/en/docusaurus-plugin-content-docs/current/manual/commandtools.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ The parameters used by the built-in modules are:
176176
|l10n.convertTextKeyToValue|Perform static localization and replace key with the text value of the corresponding language|| -x l10n.convertTextKeyToValue=1|
177177
|l10n.textListFile|The output file of all text key lists in the configuration, used with DataTarget text-list|
178178
|pathValidator.rootDir|The root directory used by the path validator to search for files|| -x pathValidator.rootDir=/xx/yy|
179-
|{code|data}.lineEnding|The line ending of the generated code and data files. This option is only valid for text output files, and is invalid for binary formats such as bin and bson.|Can be CR, LF, CRLF. If not specified, Environment.NewLine is used as the line ending|-x lineEnding=LF, -x code.LineEnding=LF, -x data.lineEnding=LF|
179+
|{code\|data}.lineEnding|The line ending of the generated code and data files. This option is only valid for text output files, and is invalid for binary formats such as bin and bson.|Can be CR, LF, CRLF. If not specified, Environment.NewLine is used as the line ending|-x lineEnding=LF, -x code.LineEnding=LF, -x data.lineEnding=LF|
180180
|json.compact|Whether to output compact json data without indentation, used with json or json2 dataTarget, the default is 0|0, 1, true, false|-x compact=1|
181181
|{dataTarget}.fileExt|The file name suffix of the output data file||-x bin.fileExt=bin|
182182
|~~{dataTarget}.outputDataExtension~~|The file name suffix of the output data file. Removed in v2.12.0, renamed to fileExt||-x bin.outputDataExtension=bin|

0 commit comments

Comments
 (0)