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 2c0635e commit 772b706
Show file tree
Hide file tree
Showing 54 changed files with 170 additions and 57 deletions.
23 changes: 22 additions & 1 deletion website/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,27 @@ a modern static website generator.

The folder was created with:

```bash
```sh
npx create-docusaurus website classic --typescript
```

## docusaurus-plugin-typedoc

This plugin uses [TypeDoc](https://typedoc.org) to generate
the reference as markdown pages in `docs/api`.

- https://typedoc-plugin-markdown.org/plugins/docusaurus

```sh
cd website
npm install typedoc typedoc-plugin-markdown docusaurus-plugin-typedoc --save-dev
```

[!NOTE]
There is a new spec ([TSDoc](https://tsdoc.org)), pushed by
Microsoft, slightly different, for example there are no
categories or groups.

[!NOTE]
There is also another plugin, `docusaurus-plugin-typedoc-api`, but
it is no longer maintained.
2 changes: 1 addition & 1 deletion website/babel.config.js
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.

module.exports = {
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
Expand Down
2 changes: 1 addition & 1 deletion website/blog/_common/_deprecation-notices-glib-2.27.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

{/* 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/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-glib-2.27.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
14 changes: 14 additions & 0 deletions website/blog/authors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# DO NOT EDIT!
# Automatically generated from docusaurus-template-liquid/templates/docusaurus.

ilg-ul:
name: Liviu Ionescu (ilg)
email: [email protected]
url: https://github.com/ilg-ul
image_url: https://github.com/ilg-ul.png
page: true
socials:
x: ilegeul
github: ilg-ul
linkedin: https://www.linkedin.com/in/liviu-ionescu/
wordpress: https://ilgthegeek.wordpress.com
6 changes: 6 additions & 0 deletions website/blog/tags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# DO NOT EDIT!
# Automatically generated from docusaurus-template-liquid/templates/docusaurus.

releases:

web:
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* DO NOT EDIT!
* Automatically generated from xbb-helper/templates/docusaurus/common.
* Automatically generated from docusaurus-template-liquid/templates/docusaurus.
*
* This file is part of the xPack project (http://xpack.github.io).
* Copyright (c) 2024 Liviu Ionescu. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* DO NOT EDIT!
* Automatically generated from xbb-helper/templates/docusaurus/common.
* Automatically generated from docusaurus-template-liquid/templates/docusaurus.
*
* This file is part of the xPack project (http://xpack.github.io).
* Copyright (c) 2024 Liviu Ionescu. All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/about/_common/HistoryArmLinuxAdded/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* DO NOT EDIT!
* Automatically generated from xbb-helper/templates/docusaurus/common.
* Automatically generated from docusaurus-template-liquid/templates/docusaurus.
*
* This file is part of the xPack project (http://xpack.github.io).
* Copyright (c) 2024 Liviu Ionescu. All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/about/_common/HistoryPlatformsAdded/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* DO NOT EDIT!
* Automatically generated from xbb-helper/templates/docusaurus/common.
* Automatically generated from docusaurus-template-liquid/templates/docusaurus.
*
* This file is part of the xPack project (http://xpack.github.io).
* Copyright (c) 2024 Liviu Ionescu. All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/about/_common/HistoryRenameXpack/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* DO NOT EDIT!
* Automatically generated from xbb-helper/templates/docusaurus/common.
* Automatically generated from docusaurus-template-liquid/templates/docusaurus.
*
* This file is part of the xPack project (http://xpack.github.io).
* Copyright (c) 2024 Liviu Ionescu. All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/about/_common/HistoryWindowsUcrt/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* DO NOT EDIT!
* Automatically generated from xbb-helper/templates/docusaurus/common.
* Automatically generated from docusaurus-template-liquid/templates/docusaurus.
*
* This file is part of the xPack project (http://xpack.github.io).
* Copyright (c) 2024 Liviu Ionescu. All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/about/_common/HistoryXpm/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* DO NOT EDIT!
* Automatically generated from xbb-helper/templates/docusaurus/common.
* Automatically generated from docusaurus-template-liquid/templates/docusaurus.
*
* This file is part of the xPack project (http://xpack.github.io).
* Copyright (c) 2024 Liviu Ionescu. All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/about/_common/HistoryZipAdded/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* DO NOT EDIT!
* Automatically generated from xbb-helper/templates/docusaurus/common.
* Automatically generated from docusaurus-template-liquid/templates/docusaurus.
*
* This file is part of the xPack project (http://xpack.github.io).
* Copyright (c) 2024 Liviu Ionescu. All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/about/_common/_history-gnu-arm-eclipse.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/about/_common/_history-rename-xpack.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 Link from '@docusaurus/Link';

Expand Down
2 changes: 1 addition & 1 deletion website/docs/about/_common/_history-restructuring.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/about/_common/_history-setup-discontinued.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 Link from '@docusaurus/Link';

Expand Down
2 changes: 1 addition & 1 deletion website/docs/about/_common/_history-xbb-v5.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/about/_common/_intro-primary.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/about/_common/_intro-secondary.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/about/_common/_website-jekyll.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/about/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: About
description: Details about the project, including its history, the history of the website, and details about the author.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/developer/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: Contributor's Guides
description: Guidance for developers aiming to contribute new features or bug fixes, detailing how to build the binaries, including prerequisites, repositories utilised, and scripts.
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. */}

import versionMajor from '@site/src/libs/versionMajor';

Expand Down
2 changes: 1 addition & 1 deletion website/docs/getting-started/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: Getting Started
description: The initial steps to explore the project, including what xpacks are, the project's features, benefits, compatibility, and available documentation.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/install/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: Install Guides
description: Explain the prerequisites, how to perform an automated or manual installation, how to uninstall, and the folder hierarchies.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/maintainer/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: Maintainer's Guides
description: Assistance for project maintainers, including the release schedule, versioning scheme, and instructions on how to build, test, and publish.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/user/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: User's Guides
description: User information, including the versioning scheme, usage of shared libraries, and RPATH configuration on GNU/Linux.
Expand Down
3 changes: 1 addition & 2 deletions website/docusaurus.config.ts
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 {themes as prismThemes} from 'prism-react-renderer';
import type {Config} from '@docusaurus/types';
Expand Down Expand Up @@ -146,7 +146,6 @@ const config: Config = {
'https://github.com/xpack-dev-tools/xpack-dev-tools.github.io-xpack/edit/xpack/website/',
showLastUpdateTime: true,
blogSidebarCount: 8,
authorsMapPath: '../authors.yml',
},
theme: {
customCss: './src/css/custom.css',
Expand Down
4 changes: 3 additions & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@
"last 5 safari version"
]
},
"websiteConfig": {},
"websiteConfig": {
"skipInstallCommand": "true"
},
"engines": {
"node": ">=18.0"
}
Expand Down
2 changes: 1 addition & 1 deletion website/sidebars.ts
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 type {SidebarsConfig} from '@docusaurus/plugin-content-docs';

Expand Down
2 changes: 1 addition & 1 deletion website/src/components/HeadTitle/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* DO NOT EDIT!
* Automatically generated from xbb-helper/templates/docusaurus/common.
* Automatically generated from docusaurus-template-liquid/templates/docusaurus.
*
* This file is part of the xPack project (http://xpack.github.io).
* Copyright (c) 2024 Liviu Ionescu. All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion website/src/components/HomepageFeatures/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* DO NOT EDIT!
* Automatically generated from xbb-helper/templates/docusaurus/common.
* Automatically generated from docusaurus-template-liquid/templates/docusaurus.
*
* This file is part of the xPack project (http://xpack.github.io).
* Copyright (c) 2024 Liviu Ionescu. All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion website/src/components/HomepageFeatures/styles.module.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* DO NOT EDIT!
* Automatically generated from xbb-helper/templates/docusaurus/common.
* Automatically generated from docusaurus-template-liquid/templates/docusaurus.
*/

.features {
Expand Down
2 changes: 1 addition & 1 deletion website/src/components/HomepageTools/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* DO NOT EDIT!
* Automatically generated from xbb-helper/templates/docusaurus/common.
* Automatically generated from docusaurus-template-liquid/templates/docusaurus.
*
* This file is part of the xPack project (http://xpack.github.io).
* Copyright (c) 2024 Liviu Ionescu. All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion website/src/components/HomepageTools/styles.module.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* DO NOT EDIT!
* Automatically generated from xbb-helper/templates/docusaurus/common.
* Automatically generated from docusaurus-template-liquid/templates/docusaurus.
*/

.features {
Expand Down
2 changes: 1 addition & 1 deletion website/src/components/InstallWithCopy/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* DO NOT EDIT!
* Automatically generated from xbb-helper/templates/docusaurus/common.
* Automatically generated from docusaurus-template-liquid/templates/docusaurus.
*
* This file is part of the xPack project (http://xpack.github.io).
* Copyright (c) 2024 Liviu Ionescu. All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion website/src/components/LinksVsForwarders/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* DO NOT EDIT!
* Automatically generated from xbb-helper/templates/docusaurus/common.
* Automatically generated from docusaurus-template-liquid/templates/docusaurus.
*
* This file is part of the xPack project (http://xpack.github.io).
* Copyright (c) 2024 Liviu Ionescu. All rights reserved.
Expand Down
18 changes: 12 additions & 6 deletions website/src/components/ReleasesList/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* DO NOT EDIT!
* Automatically generated from xbb-helper/templates/docusaurus/common.
* Automatically generated from docusaurus-template-liquid/templates/docusaurus.
*
* This file is part of the xPack project (http://xpack.github.io).
* Copyright (c) 2024 Liviu Ionescu. All rights reserved.
Expand All @@ -23,11 +23,17 @@ export function ReleasesList({items}): JSX.Element {
return (
<ul>
{
pluginData.releasesTable.map(release => (
<li>
<a href={release.permalink}>{release.title}</a> (<a href={release.downloadUrl}>download</a>)
</li>
))
pluginData.releasesTable.length > 0 ?
pluginData.releasesTable.map(release => (
<li>
<a href={release.permalink}>{release.title}</a> {release.downloadUrl === "true" ? (<>(<a href={release.downloadUrl}>download</a>)</>) : (<></>)}
</li>
)) :
(
<li>
none yet
</li>
)
}
</ul>
)
Expand Down
Loading

0 comments on commit 772b706

Please sign in to comment.