Skip to content

Commit 4efb70c

Browse files
authored
Revert "chore(docs): adds types column and null checks for description (#7713)" (#8083)
This reverts commit 8993451.
1 parent 8993451 commit 4efb70c

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

tools/dgeni/templates/method.template.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,11 @@
99
</th>
1010
</tr>
1111
</thead>
12-
{%- if method.description -%}
1312
<tr class="docs-api-method-description-row">
1413
<td colspan="2" class="docs-api-method-description-cell">
1514
{$ method.description | marked | safe $}
1615
</td>
1716
</tr>
18-
{%- endif -%}
1917

2018
{%- if method.params.length -%}
2119
<thead>

tools/dgeni/templates/property.template.html

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,7 @@
2525
<p class="docs-api-property-name">
2626
{$ property.name $}
2727
</p>
28+
<code class="docs-api-property-type">{$ property.type $}</code>
2829
</td>
29-
<td class="docs-api-property-description">
30-
<div class="docs-api-property-type">
31-
Type: <code>{$ property.type $}</code>
32-
</div>
33-
{$ property.description | marked | safe $}
34-
</td>
30+
<td class="docs-api-property-description">{$ property.description | marked | safe $}</td>
3531
</tr>

0 commit comments

Comments
 (0)