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 ef6f1605db
commit d72d50d83e
1 changed files with 6 additions and 1 deletions

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>