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);
|
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));
|
output(XmlDoc.renderXmlDoc(member.spec, maxDocumentationColumnWidth));
|
||||||
paramDocs.forEach((val, ind) => {
|
paramDocs.forEach((val, ind) => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue