docs(dotnet): move options arguments last (#5856)
This commit is contained in:
parent
2367039a2c
commit
de16d17726
|
|
@ -521,7 +521,9 @@ function renderMethod(member, parent, output, name) {
|
|||
pushArg(argType, argName, arg);
|
||||
};
|
||||
|
||||
member.args.forEach(parseArg);
|
||||
member.argsArray
|
||||
.sort((a, b) => b.alias === 'options' ? -1 : 0) //move options to the back to the arguments list
|
||||
.forEach(parseArg);
|
||||
|
||||
output(XmlDoc.renderXmlDoc(member.spec, maxDocumentationColumnWidth));
|
||||
paramDocs.forEach((val, ind) => {
|
||||
|
|
@ -720,4 +722,4 @@ function registerAdditionalType(typeName, type) {
|
|||
}
|
||||
|
||||
additionalTypes.set(typeName, type);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue