From 9529b008c4fcaf5122ce5a930bb8f2db24c59866 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Tue, 14 Jun 2022 10:47:25 -0700 Subject: [PATCH] Sync eng/common directory with azure-sdk-tools for PR 3386 (#3733) * Update the order of remarks and examples to align with docs.ms * change all occurance * Update class.tmpl.partial Co-authored-by: sizhu Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com> --- .../matthews/partials/class.header.tmpl.partial | 12 ++++++------ .../templates/matthews/partials/class.tmpl.partial | 10 +++++----- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/eng/common/docgeneration/templates/matthews/partials/class.header.tmpl.partial b/eng/common/docgeneration/templates/matthews/partials/class.header.tmpl.partial index 49a27d827..db73a4bdd 100644 --- a/eng/common/docgeneration/templates/matthews/partials/class.header.tmpl.partial +++ b/eng/common/docgeneration/templates/matthews/partials/class.header.tmpl.partial @@ -87,14 +87,14 @@ {{/syntax.typeParameters.0}} -{{#remarks}} -
{{__global.remarks}}
-
{{{remarks}}}
-{{/remarks}} - {{#example.0}} -
{{__global.examples}}
+
{{__global.examples}}
{{/example.0}} {{#example}} {{{.}}} {{/example}} + +{{#remarks}} +
{{__global.remarks}}
+
{{{remarks}}}
+{{/remarks}} \ No newline at end of file diff --git a/eng/common/docgeneration/templates/matthews/partials/class.tmpl.partial b/eng/common/docgeneration/templates/matthews/partials/class.tmpl.partial index 5f00b822c..37a69fa1c 100644 --- a/eng/common/docgeneration/templates/matthews/partials/class.tmpl.partial +++ b/eng/common/docgeneration/templates/matthews/partials/class.tmpl.partial @@ -132,11 +132,6 @@ {{/definition}} {{/implements}} -{{#remarks}} -
{{__global.remarks}}
-
{{{remarks}}}
-{{/remarks}} - {{#example.0}}
{{__global.examples}}
{{/example.0}} @@ -144,6 +139,11 @@ {{{.}}} {{/example}} +{{#remarks}} +
{{__global.remarks}}
+
{{{remarks}}}
+{{/remarks}} + {{#exceptions.0}}
{{__global.exceptions}}