build(docs-infra): move CLI API desciption higher up (#26568)
Closes #26556 PR Close #26568
This commit is contained in:
parent
ef6f1605db
commit
d72d50d83e
|
@ -12,9 +12,14 @@
|
||||||
{$ doc.shortDescription | marked $}
|
{$ doc.shortDescription | marked $}
|
||||||
{$ doc.description | marked $}
|
{$ doc.description | marked $}
|
||||||
{$ cli.renderSyntax(doc) $}
|
{$ cli.renderSyntax(doc) $}
|
||||||
|
|
||||||
|
{% if doc.longDescription.length %}
|
||||||
|
<h2 class="no-anchor">Description</h2>
|
||||||
|
{$ doc.longDescription | marked $}
|
||||||
|
{% endif%}
|
||||||
|
|
||||||
{$ cli.renderArguments(doc.positionalOptions, 2) $}
|
{$ cli.renderArguments(doc.positionalOptions, 2) $}
|
||||||
{$ cli.renderNamedOptions(doc.namedOptions, 2) $}
|
{$ cli.renderNamedOptions(doc.namedOptions, 2) $}
|
||||||
{$ cli.renderSubcommands(doc) $}
|
{$ cli.renderSubcommands(doc) $}
|
||||||
{$ doc.longDescription | marked $}
|
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
|
Loading…
Reference in New Issue