Skip to content

Commit 2d1f474

Browse files
committed
website: re-generate commons
1 parent 8791d67 commit 2d1f474

12 files changed

+1075
-656
lines changed

website/blog/2025-10-14-gcc-v12-5-0-1-released.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ import CodeBlock from '@theme/CodeBlock';
3636
import Tabs from '@theme/Tabs';
3737
import TabItem from '@theme/TabItem';
3838

39+
import customField from '@site/src/libs/customField';
40+
3941
import Prerequisites from './_common/_prerequisites-glib-2.28.mdx';
4042
import DeprecationNotices from './_common/_deprecation-notices-glib-2.28.mdx';
4143
import DownloadAnalytics from './_common/_download-analytics.mdx';

website/blog/2025-10-14-gcc-v13-4-0-1-released.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ import CodeBlock from '@theme/CodeBlock';
3636
import Tabs from '@theme/Tabs';
3737
import TabItem from '@theme/TabItem';
3838

39+
import customField from '@site/src/libs/customField';
40+
3941
import Prerequisites from './_common/_prerequisites-glib-2.28.mdx';
4042
import DeprecationNotices from './_common/_deprecation-notices-glib-2.28.mdx';
4143
import DownloadAnalytics from './_common/_download-analytics.mdx';

website/blog/2025-10-14-gcc-v14-3-0-1-released.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ import CodeBlock from '@theme/CodeBlock';
3636
import Tabs from '@theme/Tabs';
3737
import TabItem from '@theme/TabItem';
3838

39+
import customField from '@site/src/libs/customField';
40+
3941
import Prerequisites from './_common/_prerequisites-glib-2.28.mdx';
4042
import DeprecationNotices from './_common/_deprecation-notices-glib-2.28.mdx';
4143
import DownloadAnalytics from './_common/_download-analytics.mdx';

website/blog/2025-10-14-gcc-v15-2-0-1-released.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ import CodeBlock from '@theme/CodeBlock';
3636
import Tabs from '@theme/Tabs';
3737
import TabItem from '@theme/TabItem';
3838

39+
import customField from '@site/src/libs/customField';
40+
3941
import Prerequisites from './_common/_prerequisites-glib-2.28.mdx';
4042
import DeprecationNotices from './_common/_deprecation-notices-glib-2.28.mdx';
4143
import DownloadAnalytics from './_common/_download-analytics.mdx';

website/blog/_templates/blog-post-release-part-1-liquid.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ import CodeBlock from '@theme/CodeBlock';
3636
import Tabs from '@theme/Tabs';
3737
import TabItem from '@theme/TabItem';
3838

39+
import customField from '@site/src/libs/customField';
40+
3941
import Prerequisites from './_common/_prerequisites-glib-2.28.mdx';
4042
import DeprecationNotices from './_common/_deprecation-notices-glib-2.28.mdx';
4143
import DownloadAnalytics from './_common/_download-analytics.mdx';

website/docs/install/_common/_content.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ the project build configurations need a PATH adjustment:
303303
<TabItem value="windows" label="Windows" default>
304304

305305
<CodeBlock language="sh"> {
306-
`export PATH=$HOME/AppData/Roaming/xPacks/xpack-dev-tools/gcc/15.2.0-1.1/.content/bin:$PATH
306+
`export PATH=$HOME/AppData/Roaming/xPacks/@xpack-dev-tools/gcc/15.2.0-1.1/.content/bin:$PATH
307307
`} </CodeBlock>
308308

309309
:::tip
@@ -318,7 +318,7 @@ corresponding shell.
318318
<TabItem value="linux" label="GNU/Linux">
319319

320320
<CodeBlock language="sh"> {
321-
`export PATH=$HOME/.local/xPacks/xpack-dev-tools/gcc/15.2.0-1.1/.content/bin:$PATH
321+
`export PATH=$HOME/.local/xPacks/@xpack-dev-tools/gcc/15.2.0-1.1/.content/bin:$PATH
322322
`} </CodeBlock>
323323

324324
</TabItem>

website/docs/maintainer/_common/_content.mdx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -414,13 +414,6 @@ watching the gcc-xpack project.
414414

415415
<CommonPrepareNewBlogPost />
416416

417-
### Update the web install page
418-
419-
- Check and possibly update the output of the `--version` runs in
420-
- `website/docs/install/_project/_automatic-install-quick-test.mdx`
421-
- `website/docs/install/_project/_manual-install-quick-test.mdx`
422-
- **Commit** with the message _**website: update quick tests**_
423-
424417
### Check the list of links in top package.json
425418

426419
- Open the top `package.json` file
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
import versionMajor from '@site/src/libs/versionMajor';
3+
4+
{/* ------------------------------------------------------------------------ */}
5+
6+
The strategy with the development builds is to run them in descending order
7+
({versionMajor()}.2, {versionMajor() - 1}.3, {versionMajor() - 2}.4, {versionMajor() - 3}.5).
8+
9+
For this update the top `package.json` and `build-assets/scripts/VERSION` files
10+
and run the build scripts.
11+
12+
After each build, save the folder hierarchies and executables, to be used
13+
in the blog posts.
14+
15+
Then perform the steps to make the production builds in ascending order
16+
({versionMajor() - 3}.5, {versionMajor() - 2}.4, {versionMajor() - 1}.3, {versionMajor()}.2),
17+
with full tests and website updates.

website/docs/maintainer/_common/_prepare-new-blog-post.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
```sh
1111
npm run generate-website-blog-post -C ~/Work/xpack-dev-tools/gcc-xpack.git/website
1212
```
13-
- Edit the front matter properties (the `description` property)
14-
- Select the correct summary (maintenance vs. new release)
13+
- Fix the TODO in the front matter `description` property (select maintenance vs. new release)
14+
- Fix the TODO in the summary (select maintenance vs. new release)
1515
- Add entries in the **Bug fixes**; utilise the following syntax
1616
```
1717
- [[#N](https://github.com/xpack-dev-tools/gcc-xpack/issues/N)]:
1818
```
19-
- Copy/paste the folder structures from the installation guide
19+
- Copy/paste the **folder hierarchies** from the `website/docs/_project/_folders-hierarchies-*.mdx` files
2020
- **Commit** with the message _**website: blog post release 15.2.0-1.1 published**_

website/docusaurus.config.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ const config: Config = {
4747

4848
onBrokenAnchors: 'throw',
4949
onBrokenLinks: 'throw',
50-
onBrokenMarkdownLinks: 'throw',
5150

5251
onDuplicateRoutes: 'throw',
5352

@@ -64,7 +63,10 @@ const config: Config = {
6463
},
6564

6665
markdown: {
67-
format: 'detect'
66+
format: 'detect',
67+
hooks: {
68+
onBrokenMarkdownLinks: 'throw'
69+
}
6870
},
6971

7072
plugins: [

0 commit comments

Comments
 (0)