Skip to content

Commit

Permalink
website: re-generate commons
Browse files Browse the repository at this point in the history
  • Loading branch information
ilg-ul committed Jan 16, 2025
1 parent 7dac42a commit e7efdf3
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion website/docs/developer/_common/_get-project-sources.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{/* DO NOT EDIT! */}
{/* Automatically generated from xbb-helper/templates/docusaurus/common. */}
{/* Automatically generated from docusaurus-template-liquid/templates/docusaurus. */}

{/* ------------------------------------------------------------------------ */}

Expand Down
2 changes: 1 addition & 1 deletion website/docs/developer/_common/_prerequisites.mdx
Original file line number Diff line number Diff line change
@@ -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';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{/* DO NOT EDIT! */}
{/* Automatically generated from xbb-helper/templates/docusaurus/common. */}
{/* Automatically generated from docusaurus-template-liquid/templates/docusaurus. */}

{/* ------------------------------------------------------------------------ */}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{/* DO NOT EDIT! */}
{/* Automatically generated from xbb-helper/templates/docusaurus/common. */}
{/* Automatically generated from docusaurus-template-liquid/templates/docusaurus. */}

{/* ------------------------------------------------------------------------ */}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{/* DO NOT EDIT! */}
{/* Automatically generated from xbb-helper/templates/docusaurus/common. */}
{/* Automatically generated from docusaurus-template-liquid/templates/docusaurus. */}

{/* ------------------------------------------------------------------------ */}

Expand Down
2 changes: 1 addition & 1 deletion website/docs/test/index.mdx
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion website/src/components/ReleasesList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function ReleasesList({items}): JSX.Element {
pluginData.releasesTable.length > 0 ?
pluginData.releasesTable.map(release => (
<li>
<a href={release.permalink}>{release.title}</a>
<a href={release.permalink}>{release.title}</a> {release.downloadUrl === "true" ? (<>(<a href={release.downloadUrl}>download</a>)</>) : (<></>)}
</li>
)) :
(
Expand Down
3 changes: 2 additions & 1 deletion website/src/plugins/SelectReleasesPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -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']
})
}
})
Expand Down

0 comments on commit e7efdf3

Please sign in to comment.