Skip to content

Commit 94532b5

Browse files
committed
website: re-generate commons
1 parent 4abede5 commit 94532b5

File tree

8 files changed

+18
-20
lines changed

8 files changed

+18
-20
lines changed

website/blog/_templates/blog-post-release-part-1-liquid.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
2-
title: xPack {{appName}} v{{releaseVersion}} released
2+
title: xPack {{packageConfig.longName}} v{{releaseVersion}} released
33
seo_title: Version {{releaseVersion}} released
44
description: Version {{releaseVersion}} is a TODO new/maintenance release.
55
keywords:
66
- xpack
7-
- {{appLcName}}
7+
- {{packageConfig.shortName}}
88
- release
99

1010
date: {{releaseDate}}
@@ -76,10 +76,10 @@ from <a href={frontMatter.download_url}>GitHub Releases</a>.
7676
The easiest way to install this specific version, is by using **xpm**:
7777

7878
<CodeBlock language="console"> {
79-
`xpm install @xpack-dev-tools/{{appLcName}}@${frontMatter.version}.${frontMatter.npm_subversion} -verbose
79+
`xpm install @xpack-dev-tools/{{packageConfig.shortName}}@${frontMatter.version}.${frontMatter.npm_subversion} -verbose
8080
`} </CodeBlock>
8181

82-
Comprehensive instructions for installing **xPack {{appName}}** on different platforms
82+
Comprehensive instructions for installing **xPack {{packageConfig.longName}}** on different platforms
8383
can be found in the [Install Guide](/docs/install/).
8484

8585
## Compliance

website/docs/developer/index.mdx

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

258-
::
258+
:::
259259

260260
<details>
261261
<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="MinGW-w64 GCC"
10-
appLcName="mingw-w64-gcc"
9+
longName="MinGW-w64 GCC"
10+
shortName="mingw-w64-gcc"
1111
programName="x86_64-w64-mingw32-gcc"
1212
branding="x86_64-w64-mingw32-gcc (xPack MinGW-w64 GCC x86_64) "
1313
/>

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

Lines changed: 4 additions & 4 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="windows" label="Windows" default>
1919

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

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

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

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

3838
<CodeBlock language="console"> {
39-
`$ ~/.local/xPacks/@xpack-dev-tools/${props.appLcName}/${customField('xpackVersion')}.${customField('npmSubversion')}/.content/bin/${props.programName} --version
39+
`$ ~/.local/xPacks/@xpack-dev-tools/${props.shortName}/${customField('xpackVersion')}.${customField('npmSubversion')}/.content/bin/${props.programName} --version
4040
${props.branding}${customField('upstreamVersion')}
4141
`} </CodeBlock>
4242

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

Lines changed: 4 additions & 4 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="windows" label="Windows" default>
1919

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

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

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

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

3838
<CodeBlock language="console"> {
39-
`$ ~/.local/xPacks/${props.appLcName}/xpack-${props.appLcName}-${customField('xpackVersion')}/bin/${props.programName} --version
39+
`$ ~/.local/xPacks/${props.shortName}/xpack-${props.shortName}-${customField('xpackVersion')}/bin/${props.programName} --version
4040
${props.branding}${customField('upstreamVersion')}
4141
`} </CodeBlock>
4242

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="MinGW-w64 GCC"
10-
appLcName="mingw-w64-gcc"
9+
longName="MinGW-w64 GCC"
10+
shortName="mingw-w64-gcc"
1111
programName="x86_64-w64-mingw32-gcc"
1212
branding="x86_64-w64-mingw32-gcc (xPack MinGW-w64 GCC x86_64) "
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)