mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Previously, the "Description" column of the CLI command overview section was populated based on the CLI command docs' `description` property. Since #45225, the short description of CLI commands is stored in the `shortDescription` property. This commit restores the content of the "Description" column by using the correct property to populate it. Fixes #46489 PR Close #46502
27 lines
704 B
HTML
27 lines
704 B
HTML
{% extends 'content.template.html' -%}
|
|
|
|
{% block content %}
|
|
<div class="content">
|
|
{$ doc.description | marked $}
|
|
</div>
|
|
|
|
<h2>Command Overview</h2>
|
|
<table class="is-full-width list-table property-table">
|
|
<thead>
|
|
<tr>
|
|
<th>Command</th>
|
|
<th>Alias</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for command in doc.commands %}
|
|
<tr>
|
|
<td><a class="code-anchor" href="{$ command.path $}"><code class="no-auto-link">{$ command.name $}</code></a></td>
|
|
<td>{% for alias in command.commandAliases %}<code class="no-auto-link">{$ alias $} </code>{% endfor %}</td>
|
|
<td>{$ command.shortDescription | marked $}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endblock %}
|