Update docs 2

This commit is contained in:
root 2020-06-26 12:44:31 +07:00
parent 3ef1d44cdb
commit 3b3ed3aef7
2 changed files with 2379 additions and 2379 deletions

View File

@ -350,10 +350,10 @@ if (!args || args.help) {
}; };
} }
if (fields.length > 0) { if (fields.length > 0) {
doc += "#|Field name|Field type\n-|-|-\n"; doc += "| N | Field name | Field type |\n| - | - | - |\n";
for (let i = 1; i <= fields.length; i++) { for (let i = 1; i <= fields.length; i++) {
if (fields[i]) { if (fields[i]) {
doc += `${i}|${fields[i].name}|${(types.test(fields[i].type) ? fields[i].type : '['+fields[i].type+'](#'+fields[i].type+')')}\n`; doc += `| ${i} | ${fields[i].name} | ${(types.test(fields[i].type) ? fields[i].type : '['+fields[i].type+'](#'+fields[i].type+')')} |\n`;
} }
} }
} else { } else {

4754
liqi.md

File diff suppressed because it is too large Load Diff