Skip to content

Commit

Permalink
build: method parameter API docs missing descriptions (#24014)
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Gschwendtner <paulgschwendtner@gmail.com>
Fix missing method parameter documentation

The 'parameter.description' => 'parameter.content' change was made earlier, but as I see now there is no documentation for method parameters on material.angular.io site.
I found that the information for method parameters are stored in the 'description' field.
  • Loading branch information
pedig authored Dec 3, 2021
1 parent aea5d13 commit 681f37d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/dgeni/templates/method.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
</td>
<td class="docs-api-method-parameter-description-cell">
<p class="docs-api-method-parameter-description">
{$ parameter.content | marked | safe $}
{$ parameter.description | marked | safe $}
</p>
</td>
</tr>
Expand Down

0 comments on commit 681f37d

Please sign in to comment.