Skip to content

Commit 4e31c7a

Browse files
Merge pull request #7 from forcedotcom/jshackell/rearrange
fix: rearrange command xml, rename setup guide, fix rn link
2 parents 6acf2dc + b1ad787 commit 4e31c7a

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

templates/cli_reference_xml.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ IF YOU WANT TO CHANGE THIS CONTENT, CONTACT [email protected] FOR D
3131
<section>
3232
<p>For information about installing Salesforce CLI, see the <cite><xref
3333
href="https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli.htm"
34-
type="new-window:HTML" format="html" scope="external">Salesforce DX Setup Guide</xref></cite>.</p>
34+
type="new-window:HTML" format="html" scope="external">Salesforce CLI Setup Guide</xref></cite>.</p>
3535
<p>For information about Salesforce CLI changes, see the <cite><xref
36-
href="https://developer.salesforce.com/media/salesforce-cli/releasenotes.html"
36+
href="https://github.com/forcedotcom/cli/blob/master/releasenotes/README.md"
3737
type="new-window:HTML" format="html" scope="external">Salesforce CLI Release Notes</xref></cite>.</p>
3838
</section>
3939
</refbody>

templates/command.hbs

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,22 @@ IF YOU WANT TO CHANGE THIS CONTENT, CONTACT [email protected] FOR D
6161
format="html" scope="external" type="new-window:HTML">{{trailblazerCommunityName}}</xref> group in the
6262
Trailblazer Community.</note>
6363
</section>{{/if}}
64+
{{#if help}}
65+
<section>
66+
<title><ph>Help for <codeph otherprops="nolang">{{id}}</codeph></ph></title>
67+
{{#each help}}
68+
{{#isCodeBlock this}}<codeblock otherprops="nolang">{{this}}</codeblock>{{else}}<p>{{this}}</p>{{/isCodeBlock}}
69+
{{/each}}
70+
</section>
71+
{{/if}}
72+
{{#if examples}}
73+
<section>
74+
<title><ph>Examples for <codeph otherprops="nolang">{{id}}</codeph></ph></title>
75+
{{#each examples}}
76+
{{#isCodeBlock this}}<codeblock otherprops="nolang">{{this}}</codeblock>{{else}}<p>{{this}}</p>{{/isCodeBlock}}
77+
{{/each}}
78+
</section>
79+
{{/if}}
6480
<section>
6581
<title><ph>Command Syntax</ph></title>
6682
<dl>
@@ -90,14 +106,6 @@ IF YOU WANT TO CHANGE THIS CONTENT, CONTACT [email protected] FOR D
90106
</dl>
91107
</section>
92108
{{/if}}
93-
{{#if help}}
94-
<section>
95-
<title><ph>Help for <codeph otherprops="nolang">{{id}}</codeph></ph></title>
96-
{{#each help}}
97-
{{#isCodeBlock this}}<codeblock otherprops="nolang">{{this}}</codeblock>{{else}}<p>{{this}}</p>{{/isCodeBlock}}
98-
{{/each}}
99-
</section>
100-
{{/if}}
101109
{{#if aliases}}
102110
<section>
103111
<title><ph>Aliases for <codeph otherprops="nolang">{{id}}</codeph></ph></title>
@@ -106,13 +114,5 @@ IF YOU WANT TO CHANGE THIS CONTENT, CONTACT [email protected] FOR D
106114
{{/each}}
107115
</section>
108116
{{/if}}
109-
{{#if examples}}
110-
<section>
111-
<title><ph>Examples for <codeph otherprops="nolang">{{id}}</codeph></ph></title>
112-
{{#each examples}}
113-
{{#isCodeBlock this}}<codeblock otherprops="nolang">{{this}}</codeblock>{{else}}<p>{{this}}</p>{{/isCodeBlock}}
114-
{{/each}}
115-
</section>
116-
{{/if}}
117117
</refbody>
118118
</reference>

0 commit comments

Comments
 (0)