build(docs-infra): move CLI API desciption higher up (#26568)

Closes #26556

PR Close #26568
This commit is contained in:
Pete Bacon Darwin 2018-10-19 08:28:08 +01:00 committed by Matias Niemelä
parent 98b1a9dcfe
commit b5ede01c09

View File

@ -12,9 +12,14 @@
{$ doc.shortDescription | marked $}
{$ doc.description | marked $}
{$ cli.renderSyntax(doc) $}
{% if doc.longDescription.length %}
<h2 class="no-anchor">Description</h2>
{$ doc.longDescription | marked $}
{% endif%}
{$ cli.renderArguments(doc.positionalOptions, 2) $}
{$ cli.renderNamedOptions(doc.namedOptions, 2) $}
{$ cli.renderSubcommands(doc) $}
{$ doc.longDescription | marked $}
</div>
</article>