From 8eb6fcf6276ad0e1029816d17ffdd05c9cb4c050 Mon Sep 17 00:00:00 2001 From: sizhu Date: Fri, 27 May 2022 11:19:53 -0700 Subject: [PATCH 1/3] Update the order of remarks and examples to align with docs.ms --- .../templates/matthews/partials/class.tmpl.partial | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/eng/common/docgeneration/templates/matthews/partials/class.tmpl.partial b/eng/common/docgeneration/templates/matthews/partials/class.tmpl.partial index 5f00b822cc76..37a69fa1c4ea 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}}
From 923b0da596123d03b1437680b918c43a64540926 Mon Sep 17 00:00:00 2001 From: sizhu Date: Fri, 27 May 2022 14:25:30 -0700 Subject: [PATCH 2/3] change all occurance --- .../matthews/partials/class.header.tmpl.partial | 12 ++++++------ .../templates/matthews/partials/class.tmpl.partial | 6 +++--- 2 files changed, 9 insertions(+), 9 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 49a27d827322..db73a4bddb23 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 37a69fa1c4ea..cf37f83a5e02 100644 --- a/eng/common/docgeneration/templates/matthews/partials/class.tmpl.partial +++ b/eng/common/docgeneration/templates/matthews/partials/class.tmpl.partial @@ -24,8 +24,8 @@

{{name.0.value}}

-
{{{summary}}}
-
{{{conceptual}}}
+
{{{summary}}}
+
{{{conceptual}}}
{{__global.declaration}}
{{#syntax}} @@ -141,7 +141,7 @@ {{#remarks}}
{{__global.remarks}}
-
{{{remarks}}}
+
{{{remarks}}}
{{/remarks}} {{#exceptions.0}} From 76a8780466e2f7d1bad49a22ae992a94b9f53610 Mon Sep 17 00:00:00 2001 From: Sima Zhu <48036328+sima-zhu@users.noreply.github.com> Date: Tue, 31 May 2022 17:21:02 -0700 Subject: [PATCH 3/3] Update class.tmpl.partial --- .../templates/matthews/partials/class.tmpl.partial | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eng/common/docgeneration/templates/matthews/partials/class.tmpl.partial b/eng/common/docgeneration/templates/matthews/partials/class.tmpl.partial index cf37f83a5e02..37a69fa1c4ea 100644 --- a/eng/common/docgeneration/templates/matthews/partials/class.tmpl.partial +++ b/eng/common/docgeneration/templates/matthews/partials/class.tmpl.partial @@ -24,8 +24,8 @@

{{name.0.value}}

-
{{{summary}}}
-
{{{conceptual}}}
+
{{{summary}}}
+
{{{conceptual}}}
{{__global.declaration}}
{{#syntax}} @@ -141,7 +141,7 @@ {{#remarks}}
{{__global.remarks}}
-
{{{remarks}}}
+
{{{remarks}}}
{{/remarks}} {{#exceptions.0}}