Skip to content

Commit e097286

Browse files
azure-sdksima-zhu
andauthored
Sync eng/common directory with azure-sdk-tools for PR 3386 (Azure#18410)
* Update the order of remarks and examples to align with docs.ms * change all occurance * Update class.tmpl.partial Co-authored-by: sizhu <sizhu@microsoft.com> Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com>
1 parent 171d72e commit e097286

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

eng/common/docgeneration/templates/matthews/partials/class.header.tmpl.partial

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,14 @@
8787
</table>
8888
{{/syntax.typeParameters.0}}
8989

90-
{{#remarks}}
91-
<h5 id="{{id}}_remarks"><strong>{{__global.remarks}}</strong></h5>
92-
<div class="markdown level0 remarks">{{{remarks}}}</div>
93-
{{/remarks}}
94-
9590
{{#example.0}}
96-
<h5 id="{{id}}_examples"><strong>{{__global.examples}}</strong></h5>
91+
<h5 id="{{id}}_examples">{{__global.examples}}</h5>
9792
{{/example.0}}
9893
{{#example}}
9994
{{{.}}}
10095
{{/example}}
96+
97+
{{#remarks}}
98+
<h5 id="{{id}}_remarks">{{__global.remarks}}</h5>
99+
<div class="markdown level0 remarks">{{{remarks}}}</div>
100+
{{/remarks}}

eng/common/docgeneration/templates/matthews/partials/class.tmpl.partial

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,18 +132,18 @@
132132
{{/definition}}
133133
{{/implements}}
134134

135-
{{#remarks}}
136-
<h5 id="{{id}}_remarks">{{__global.remarks}}</h5>
137-
<div class="markdown level1 remarks">{{{remarks}}}</div>
138-
{{/remarks}}
139-
140135
{{#example.0}}
141136
<h5 id="{{id}}_examples">{{__global.examples}}</h5>
142137
{{/example.0}}
143138
{{#example}}
144139
{{{.}}}
145140
{{/example}}
146141

142+
{{#remarks}}
143+
<h5 id="{{id}}_remarks">{{__global.remarks}}</h5>
144+
<div class="markdown level1 remarks">{{{remarks}}}</div>
145+
{{/remarks}}
146+
147147
{{#exceptions.0}}
148148
<h5 class="exceptions">{{__global.exceptions}}</h5>
149149
<table>

0 commit comments

Comments
 (0)