Skip to content

Commit dbacc32

Browse files
committed
website: re-generate commons
1 parent b78543c commit dbacc32

File tree

7 files changed

+12
-14
lines changed

7 files changed

+12
-14
lines changed

website/docs/developer/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ To contribute Pull Requests, fork the project and be sure the **Copy the master
254254
Use the `xpack-development` branch and be sure you contribute the
255255
Pull Requests back to the `xpack-development` branch.
256256

257-
::
257+
:::
258258

259259
<details>
260260
<summary>Get the writable helper sources (optional, for development purposes)</summary>

website/docs/install/_automatic-install-quick-test.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import AutomaticInstallQuickTest from './_common/_automatic-install-quick-test.m
66
{/* ------------------------------------------------------------------------ */}
77

88
<AutomaticInstallQuickTest
9-
appName="GNU sed"
10-
appLcName="sed"
9+
longName="GNU sed"
10+
shortName="sed"
1111
programName="sed"
1212
branding="sed (GNU sed) "
1313
/>

website/docs/install/_common/_automatic-install-quick-test.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ import customField from '@site/src/libs/customField';
1111

1212
### Quick test
1313

14-
To check if the {props.appName} installed by **xpm** starts properly, use something like:
14+
To check if the {props.longName} installed by **xpm** starts properly, use something like:
1515

1616
<Tabs groupId="operating-systems">
1717

1818
<TabItem value="macos" label="macOS">
1919

2020
<CodeBlock language="console"> {
21-
`% ~/Library/xPacks/@xpack-dev-tools/${props.appLcName}/${customField('xpackVersion')}.${customField('npmSubversion')}/.content/bin/${props.programName} --version
21+
`% ~/Library/xPacks/@xpack-dev-tools/${props.shortName}/${customField('xpackVersion')}.${customField('npmSubversion')}/.content/bin/${props.programName} --version
2222
${props.branding}${customField('upstreamVersion')}
2323
`} </CodeBlock>
2424

@@ -27,7 +27,7 @@ ${props.branding}${customField('upstreamVersion')}
2727
<TabItem value="linux" label="GNU/Linux">
2828

2929
<CodeBlock language="console"> {
30-
`$ ~/.local/xPacks/@xpack-dev-tools/${props.appLcName}/${customField('xpackVersion')}.${customField('npmSubversion')}/.content/bin/${props.programName} --version
30+
`$ ~/.local/xPacks/@xpack-dev-tools/${props.shortName}/${customField('xpackVersion')}.${customField('npmSubversion')}/.content/bin/${props.programName} --version
3131
${props.branding}${customField('upstreamVersion')}
3232
`} </CodeBlock>
3333

website/docs/install/_common/_manual-install-quick-test.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ import customField from '@site/src/libs/customField';
1111

1212
### Quick test {#manual-install-quick-test}
1313

14-
To check if the {props.appName} installed manually starts properly, use something like:
14+
To check if the {props.longName} installed manually starts properly, use something like:
1515

1616
<Tabs groupId="operating-systems">
1717

1818
<TabItem value="macos" label="macOS">
1919

2020
<CodeBlock language="console"> {
21-
`% ~/Library/xPacks/${props.appLcName}/xpack-${props.appLcName}-${customField('xpackVersion')}/bin/${props.programName} --version
21+
`% ~/Library/xPacks/${props.shortName}/xpack-${props.shortName}-${customField('xpackVersion')}/bin/${props.programName} --version
2222
${props.branding}${customField('upstreamVersion')}
2323
`} </CodeBlock>
2424

@@ -27,7 +27,7 @@ ${props.branding}${customField('upstreamVersion')}
2727
<TabItem value="linux" label="GNU/Linux">
2828

2929
<CodeBlock language="console"> {
30-
`$ ~/.local/xPacks/${props.appLcName}/xpack-${props.appLcName}-${customField('xpackVersion')}/bin/${props.programName} --version
30+
`$ ~/.local/xPacks/${props.shortName}/xpack-${props.shortName}-${customField('xpackVersion')}/bin/${props.programName} --version
3131
${props.branding}${customField('upstreamVersion')}
3232
`} </CodeBlock>
3333

website/docs/install/_manual-install-quick-test.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import ManualInstallQuickTest from './_common/_manual-install-quick-test.mdx'
66
{/* ------------------------------------------------------------------------ */}
77

88
<ManualInstallQuickTest
9-
appName="GNU sed"
10-
appLcName="sed"
9+
longName="GNU sed"
10+
shortName="sed"
1111
programName="sed"
1212
branding="sed (GNU sed) "
1313
/>

website/docusaurus.config.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@ function getCustomFields() {
6767
}
6868

6969
return {
70-
appName: rootPackageJson.xpack.properties.appName,
71-
appLcName: rootPackageJson.xpack.properties.appLcName,
7270
version: jsonVersion,
7371
xpackVersion,
7472
xpackSemver,

website/src/components/ReleasesList/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export function ReleasesList({items}): JSX.Element {
2626
pluginData.releasesTable.length > 0 ?
2727
pluginData.releasesTable.map(release => (
2828
<li>
29-
<a href={release.permalink}>{release.title}</a> {release.downloadUrl === "true" ? (<>(<a href={release.downloadUrl}>download</a>)</>) : (<></>)}
29+
<a href={release.permalink}>{release.title}</a> {release.downloadUrl ? (<>(<a href={release.downloadUrl}>download</a>)</>) : (<></>)}
3030
</li>
3131
)) :
3232
(

0 commit comments

Comments
 (0)