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 d816f56 commit ad03973
Show file tree
Hide file tree
Showing 18 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion website/blog/_common/_download-analytics.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 Image from '@theme/IdealImage';

Expand Down
2 changes: 1 addition & 1 deletion website/blog/_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. */}

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

Expand Down
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
2 changes: 1 addition & 1 deletion website/docs/getting-started/_common/_github-and-npmjs.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
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/install/_common/_cli.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/install/_common/_no-administrative-rights.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/install/_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. */}

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

Expand Down
2 changes: 1 addition & 1 deletion website/docs/metadata/_common/_minimum-required.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
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/docs/user/policies/_common/_policies.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
3 changes: 1 addition & 2 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"private": true,
"scripts": {
"generate-website-commons": "bash node_modules/@xpack/docusaurus-template-liquid/maintenance-scripts/generate-commons.sh --xpack",
"generate-website-commons-xxx": "bash node_modules/@xpack/docusaurus-template-liquid/maintenance-scripts/generate-commons-xxx.sh --xpack",
"docusaurus": "docusaurus",
"start": "docusaurus start",
"build": "docusaurus build",
Expand All @@ -18,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",
"import-website-releases": "bash node_modules/@xpack/docusaurus-template-liquid/maintenance-scripts/website-import-releases.sh",
"generate-website-blog-post": "bash node_modules/@xpack/docusaurus-template-liquid/maintenance-scripts/generate-blog-post.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 ad03973

Please sign in to comment.