diff --git a/website/blog/_templates/blog-post-release-part-1-liquid.mdx b/website/blog/_templates/blog-post-release-part-1-liquid.mdx index 81cf8fa..e09fa71 100644 --- a/website/blog/_templates/blog-post-release-part-1-liquid.mdx +++ b/website/blog/_templates/blog-post-release-part-1-liquid.mdx @@ -1,10 +1,10 @@ --- -title: xPack {{appName}} v{{releaseVersion}} released +title: xPack {{packageConfig.longName}} v{{releaseVersion}} released seo_title: Version {{releaseVersion}} released description: Version {{releaseVersion}} is a TODO new/maintenance release. keywords: - xpack - - {{appLcName}} + - {{packageConfig.shortName}} - release date: {{releaseDate}} @@ -72,10 +72,10 @@ The binary files are available from GitHub Re The easiest way to install this specific version, is by using **xpm**: { -`xpm install @xpack-dev-tools/{{appLcName}}@${frontMatter.version}.${frontMatter.npm_subversion} -verbose +`xpm install @xpack-dev-tools/{{packageConfig.shortName}}@${frontMatter.version}.${frontMatter.npm_subversion} -verbose `} -Comprehensive instructions for installing **xPack {{appName}}** on different platforms +Comprehensive instructions for installing **xPack {{packageConfig.longName}}** on different platforms can be found in the [Install Guide](/docs/install/). ## Compliance diff --git a/website/docs/developer/index.mdx b/website/docs/developer/index.mdx index c3dfb95..3111a79 100644 --- a/website/docs/developer/index.mdx +++ b/website/docs/developer/index.mdx @@ -254,7 +254,7 @@ To contribute Pull Requests, fork the project and be sure the **Copy the master Use the `xpack-development` branch and be sure you contribute the Pull Requests back to the `xpack-development` branch. -:: +:::
Get the writable helper sources (optional, for development purposes) diff --git a/website/docs/install/_automatic-install-quick-test.mdx b/website/docs/install/_automatic-install-quick-test.mdx index 57b46da..1580764 100644 --- a/website/docs/install/_automatic-install-quick-test.mdx +++ b/website/docs/install/_automatic-install-quick-test.mdx @@ -6,8 +6,8 @@ import AutomaticInstallQuickTest from './_common/_automatic-install-quick-test.m {/* ------------------------------------------------------------------------ */} diff --git a/website/docs/install/_common/_automatic-install-quick-test.mdx b/website/docs/install/_common/_automatic-install-quick-test.mdx index 8d9ba59..79fd092 100644 --- a/website/docs/install/_common/_automatic-install-quick-test.mdx +++ b/website/docs/install/_common/_automatic-install-quick-test.mdx @@ -11,14 +11,14 @@ import customField from '@site/src/libs/customField'; ### Quick test -To check if the {props.appName} installed by **xpm** starts properly, use something like: +To check if the {props.longName} installed by **xpm** starts properly, use something like: { -`% ~/Library/xPacks/@xpack-dev-tools/${props.appLcName}/${customField('xpackVersion')}.${customField('npmSubversion')}/.content/bin/${props.programName} --version +`% ~/Library/xPacks/@xpack-dev-tools/${props.shortName}/${customField('xpackVersion')}.${customField('npmSubversion')}/.content/bin/${props.programName} --version ${props.branding}${customField('upstreamVersion')} `} @@ -27,7 +27,7 @@ ${props.branding}${customField('upstreamVersion')} { -`$ ~/.local/xPacks/@xpack-dev-tools/${props.appLcName}/${customField('xpackVersion')}.${customField('npmSubversion')}/.content/bin/${props.programName} --version +`$ ~/.local/xPacks/@xpack-dev-tools/${props.shortName}/${customField('xpackVersion')}.${customField('npmSubversion')}/.content/bin/${props.programName} --version ${props.branding}${customField('upstreamVersion')} `} diff --git a/website/docs/install/_common/_manual-install-quick-test.mdx b/website/docs/install/_common/_manual-install-quick-test.mdx index 285c9c5..da64ccf 100644 --- a/website/docs/install/_common/_manual-install-quick-test.mdx +++ b/website/docs/install/_common/_manual-install-quick-test.mdx @@ -11,14 +11,14 @@ import customField from '@site/src/libs/customField'; ### Quick test {#manual-install-quick-test} -To check if the {props.appName} installed manually starts properly, use something like: +To check if the {props.longName} installed manually starts properly, use something like: { -`% ~/Library/xPacks/${props.appLcName}/xpack-${props.appLcName}-${customField('xpackVersion')}/bin/${props.programName} --version +`% ~/Library/xPacks/${props.shortName}/xpack-${props.shortName}-${customField('xpackVersion')}/bin/${props.programName} --version ${props.branding}${customField('upstreamVersion')} `} @@ -27,7 +27,7 @@ ${props.branding}${customField('upstreamVersion')} { -`$ ~/.local/xPacks/${props.appLcName}/xpack-${props.appLcName}-${customField('xpackVersion')}/bin/${props.programName} --version +`$ ~/.local/xPacks/${props.shortName}/xpack-${props.shortName}-${customField('xpackVersion')}/bin/${props.programName} --version ${props.branding}${customField('upstreamVersion')} `} diff --git a/website/docs/install/_manual-install-quick-test.mdx b/website/docs/install/_manual-install-quick-test.mdx index 1685ecd..015bb3f 100644 --- a/website/docs/install/_manual-install-quick-test.mdx +++ b/website/docs/install/_manual-install-quick-test.mdx @@ -6,8 +6,8 @@ import ManualInstallQuickTest from './_common/_manual-install-quick-test.mdx' {/* ------------------------------------------------------------------------ */} diff --git a/website/docusaurus.config.ts b/website/docusaurus.config.ts index c2d66b4..33de5c0 100644 --- a/website/docusaurus.config.ts +++ b/website/docusaurus.config.ts @@ -67,8 +67,6 @@ function getCustomFields() { } return { - appName: rootPackageJson.xpack.properties.appName, - appLcName: rootPackageJson.xpack.properties.appLcName, version: jsonVersion, xpackVersion, xpackSemver, diff --git a/website/src/components/ReleasesList/index.tsx b/website/src/components/ReleasesList/index.tsx index a81c348..d08ba2a 100644 --- a/website/src/components/ReleasesList/index.tsx +++ b/website/src/components/ReleasesList/index.tsx @@ -26,7 +26,7 @@ export function ReleasesList({items}): JSX.Element { pluginData.releasesTable.length > 0 ? pluginData.releasesTable.map(release => (
  • - {release.title} {release.downloadUrl === "true" ? (<>(download)) : (<>)} + {release.title} {release.downloadUrl ? (<>(download)) : (<>)}
  • )) : (