diff --git a/website/docs/developer/_common/_get-project-sources.mdx b/website/docs/developer/_common/_get-project-sources.mdx index a2f125f..c266368 100644 --- a/website/docs/developer/_common/_get-project-sources.mdx +++ b/website/docs/developer/_common/_get-project-sources.mdx @@ -1,5 +1,5 @@ {/* DO NOT EDIT! */} -{/* Automatically generated from xbb-helper/templates/docusaurus/common. */} +{/* Automatically generated from docusaurus-template-liquid/templates/docusaurus. */} {/* ------------------------------------------------------------------------ */} diff --git a/website/docs/developer/_common/_prerequisites.mdx b/website/docs/developer/_common/_prerequisites.mdx index e69923c..c0d0c1f 100644 --- a/website/docs/developer/_common/_prerequisites.mdx +++ b/website/docs/developer/_common/_prerequisites.mdx @@ -1,5 +1,5 @@ {/* DO NOT EDIT! */} -{/* Automatically generated from xbb-helper/templates/docusaurus/common. */} +{/* Automatically generated from docusaurus-template-liquid/templates/docusaurus. */} import CodeBlock from '@theme/CodeBlock'; diff --git a/website/docs/getting-started/_common/_user-developer-maintainer.mdx b/website/docs/getting-started/_common/_user-developer-maintainer.mdx index e0c3a05..de2ff55 100644 --- a/website/docs/getting-started/_common/_user-developer-maintainer.mdx +++ b/website/docs/getting-started/_common/_user-developer-maintainer.mdx @@ -1,5 +1,5 @@ {/* DO NOT EDIT! */} -{/* Automatically generated from xbb-helper/templates/docusaurus/common. */} +{/* Automatically generated from docusaurus-template-liquid/templates/docusaurus. */} {/* ------------------------------------------------------------------------ */} diff --git a/website/docs/getting-started/_common/_xpm-xcdl-features.mdx b/website/docs/getting-started/_common/_xpm-xcdl-features.mdx index 8ca5751..f9b3024 100644 --- a/website/docs/getting-started/_common/_xpm-xcdl-features.mdx +++ b/website/docs/getting-started/_common/_xpm-xcdl-features.mdx @@ -1,5 +1,5 @@ {/* DO NOT EDIT! */} -{/* Automatically generated from xbb-helper/templates/docusaurus/common. */} +{/* Automatically generated from docusaurus-template-liquid/templates/docusaurus. */} {/* ------------------------------------------------------------------------ */} diff --git a/website/docs/project/about/_common/_website-docusaurus-migration.mdx b/website/docs/project/about/_common/_website-docusaurus-migration.mdx index ee5c55d..a98741f 100644 --- a/website/docs/project/about/_common/_website-docusaurus-migration.mdx +++ b/website/docs/project/about/_common/_website-docusaurus-migration.mdx @@ -1,5 +1,5 @@ {/* DO NOT EDIT! */} -{/* Automatically generated from xbb-helper/templates/docusaurus/common. */} +{/* Automatically generated from docusaurus-template-liquid/templates/docusaurus. */} {/* ------------------------------------------------------------------------ */} diff --git a/website/docs/test/index.mdx b/website/docs/test/index.mdx index bcd2382..837975d 100644 --- a/website/docs/test/index.mdx +++ b/website/docs/test/index.mdx @@ -1,7 +1,7 @@ --- # DO NOT EDIT! -# Automatically generated from xbb-helper/templates/docusaurus/common. +# Automatically generated from docusaurus-template-liquid/templates/docusaurus. title: A test page description: Some markdown examples. diff --git a/website/package.json b/website/package.json index 14cfcf8..bcbcba6 100644 --- a/website/package.json +++ b/website/package.json @@ -17,8 +17,8 @@ "typecheck": "tsc", "npm-outdated": "npm outdated", "npm-install": "npm install", - "npm-ci": "npm ci", "npm-link-helpers": "npm link @xpack/docusaurus-template-liquid @xpack/npm-packages-helper", + "npm-ci": "npm ci", "deep-clean": "del-cli .docusaurus build node_modules package-lock.json", "generate-website-blog-post": "bash node_modules/@xpack/docusaurus-template-liquid/maintenance-scripts/generate-blog-post.sh", "import-website-releases": "bash node_modules/@xpack/docusaurus-template-liquid/maintenance-scripts/website-import-releases.sh", diff --git a/website/src/components/ReleasesList/index.tsx b/website/src/components/ReleasesList/index.tsx index c2ec5d4..a81c348 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.title} {release.downloadUrl === "true" ? (<>(download)) : (<>)}
  • )) : ( diff --git a/website/src/plugins/SelectReleasesPlugin.js b/website/src/plugins/SelectReleasesPlugin.js index 6b8f017..1957674 100644 --- a/website/src/plugins/SelectReleasesPlugin.js +++ b/website/src/plugins/SelectReleasesPlugin.js @@ -38,7 +38,8 @@ export default async function SelectReleasesPlugin(context, options) { // console.log(permalink) releasesTable.push({ title: post.metadata.title, - permalink + permalink, + downloadUrl: post.metadata.frontMatter['download_url'] }) } })