Skip to content

Commit 86489d2

Browse files
committed
website: re-generate commons
1 parent 5b754b1 commit 86489d2

21 files changed

+1378
-793
lines changed

website/blog/2025-10-02-realpath-v9-8-0-1-released.mdx

Lines changed: 51 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22

3-
title: xPack xPack GNU realpath v9.8.0-1 released
3+
title: xPack GNU realpath v9.8.0-1 released
44
seo_title: Version 9.8.0-1 released
55
description: Version 9.8.0-1 is a new release.
66
keywords:
@@ -31,6 +31,10 @@ download_url: https://github.com/xpack-dev-tools/realpath-xpack/releases/tag/v9.
3131
import {PageMetadata} from '@docusaurus/theme-common';
3232
import Image from '@theme/IdealImage';
3333
import CodeBlock from '@theme/CodeBlock';
34+
import Tabs from '@theme/Tabs';
35+
import TabItem from '@theme/TabItem';
36+
37+
import customField from '@site/src/libs/customField';
3438

3539
import Prerequisites from './_common/_prerequisites-glib-2.28.mdx';
3640
import DeprecationNotices from './_common/_deprecation-notices-glib-2.28.mdx';
@@ -54,8 +58,8 @@ and **GNU/Linux** (x64 and arm64).
5458
:::note Raspberry Pi
5559

5660
The main targets for the GNU/Linux Arm
57-
binaries are the **Raspberry Pi** class devices (aarch64;
58-
armv6 and armv7l are not supported).
61+
binaries are the **Raspberry Pi** class devices (aarch64 only;
62+
armv6 and armv7l are no longer supported).
5963

6064
:::
6165

@@ -73,7 +77,7 @@ The easiest way to install this specific version, is by using **xpm**:
7377
`xpm install @xpack-dev-tools/realpath@${frontMatter.version}.${frontMatter.npm_subversion} -verbose
7478
`} </CodeBlock>
7579

76-
Comprehensive instructions for installing **xPack xPack GNU realpath** on different platforms
80+
Comprehensive instructions for installing **xPack GNU realpath** on different platforms
7781
can be found in the [Install Guide](/docs/install/).
7882

7983
## Compliance
@@ -150,6 +154,49 @@ xpack-realpath-9.8.0-1-linux-x64.tar.gz
150154
151155
```
152156

157+
## Folders hierarchy
158+
159+
After install, the package creates a hierarchy of folders like the following
160+
(only the first two depth levels are shown):
161+
162+
<Tabs groupId="operating-systems">
163+
164+
<TabItem value="macos" label="macOS">
165+
166+
<CodeBlock language="console"> {
167+
`$ tree -L 2 ~/Library/xPacks/\{{packageScopedName}}/${frontMatter.version}.${frontMatter.npm_subversion}/.content/
168+
/Users/ilg/Library/xPacks/\{{packageScopedName}}/${frontMatter.version}.${frontMatter.npm_subversion}/.content/
169+
├── README.md
170+
├── bin
171+
│ ├── greadlink
172+
│ └── grealpath
173+
└── distro-info
174+
└── licenses
175+
176+
4 directories, 3 files
177+
`} </CodeBlock>
178+
179+
</TabItem>
180+
181+
<TabItem value="linux" label="GNU/Linux">
182+
183+
<CodeBlock language="console"> {
184+
`$ tree -L 2 ~/.local/xPacks/\{{packageScopedName}}/${frontMatter.version}.${frontMatter.npm_subversion}/.content/
185+
/home/ilg/.local/xPacks/\{{packageScopedName}}/${frontMatter.version}.${frontMatter.npm_subversion}/.content/
186+
├── README.md
187+
├── bin
188+
│ ├── greadlink
189+
│ └── grealpath
190+
└── distro-info
191+
└── licenses
192+
193+
3 directories, 3 files
194+
`} </CodeBlock>
195+
196+
</TabItem>
197+
198+
</Tabs>
199+
153200
<DeprecationNotices/>
154201

155202
<DownloadAnalytics version={frontMatter.version}/>

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

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
title: xPack {{packageConfig.descriptiveName}} v{{xpackVersion}} released
44
seo_title: Version {{xpackVersion}} released
5-
description: Version {{xpackVersion}} is a TODO new/maintenance release.
5+
description: Version {{xpackVersion}} is a TODO maintenance/new release.
66
keywords:
77
- xpack
88
- {{packageConfig.permalinkName}}
@@ -31,6 +31,10 @@ download_url: https://github.com/xpack-dev-tools/realpath-xpack/releases/tag/v{{
3131
import {PageMetadata} from '@docusaurus/theme-common';
3232
import Image from '@theme/IdealImage';
3333
import CodeBlock from '@theme/CodeBlock';
34+
import Tabs from '@theme/Tabs';
35+
import TabItem from '@theme/TabItem';
36+
37+
import customField from '@site/src/libs/customField';
3438

3539
import Prerequisites from './_common/_prerequisites-glib-2.28.mdx';
3640
import DeprecationNotices from './_common/_deprecation-notices-glib-2.28.mdx';
@@ -58,8 +62,8 @@ and **GNU/Linux** (x64 and arm64).
5862
:::note Raspberry Pi
5963

6064
The main targets for the GNU/Linux Arm
61-
binaries are the **Raspberry Pi** class devices (aarch64;
62-
armv6 and armv7l are not supported).
65+
binaries are the **Raspberry Pi** class devices (aarch64 only;
66+
armv6 and armv7l are no longer supported).
6367

6468
:::
6569

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,78 @@
11

2+
## Folders hierarchy
3+
4+
After install, the package creates a hierarchy of folders like the following
5+
(only the first two depth levels are shown):
6+
7+
{%- assign platforms_array = platforms | split: "," %}
8+
9+
{%- assign names_array = "" | split: "" %}
10+
11+
{%- for platform in platforms_array %}
12+
{%- case platform %}
13+
{%- when "win32-x64" %}
14+
{%- assign names_array = names_array | concat: "Windows" %}
15+
{%- when "darwin-x64", "darwin-arm64" %}
16+
{%- assign names_array = names_array | concat: "macOS" %}
17+
{%- when "linux-x64", "linux-arm64", "linux-arm" %}
18+
{%- assign names_array = names_array | concat: "GNU/Linux" %}
19+
{%- endcase %}
20+
{%- endfor %}
21+
22+
{%- assign names_array = names_array | uniq %}
23+
24+
<Tabs groupId="operating-systems">
25+
26+
{%- for name in names_array %}
27+
{%- case name %}
28+
{%- when "Windows" %}
29+
30+
<TabItem value="windows" label="Windows" default>
31+
32+
<CodeBlock language="console"> {
33+
`C:\> tree /f %USERPROFILE%\\AppData\\Roaming\\xPacks\\@{{packageScope}}\\{{packageName}}\\${frontMatter.version}.${frontMatter.npm_subversion}\\.content
34+
Folder PATH listing
35+
Volume serial number is B02D-925C
36+
├── README.md
37+
├── bin
38+
TODO
39+
`} </CodeBlock>
40+
41+
</TabItem>
42+
43+
{%- when "macOS" %}
44+
45+
<TabItem value="macos" label="macOS">
46+
47+
<CodeBlock language="console"> {
48+
`$ tree -L 2 ~/Library/xPacks/\{{packageScopedName}}/${frontMatter.version}.${frontMatter.npm_subversion}/.content/
49+
/Users/ilg/Library/xPacks/\{{packageScopedName}}/${frontMatter.version}.${frontMatter.npm_subversion}/.content/
50+
├── README.md
51+
├── bin
52+
TODO
53+
`} </CodeBlock>
54+
55+
</TabItem>
56+
57+
{%- when "GNU/Linux" %}
58+
59+
<TabItem value="linux" label="GNU/Linux">
60+
61+
<CodeBlock language="console"> {
62+
`$ tree -L 2 ~/.local/xPacks/\{{packageScopedName}}/${frontMatter.version}.${frontMatter.npm_subversion}/.content/
63+
/home/ilg/.local/xPacks/\{{packageScopedName}}/${frontMatter.version}.${frontMatter.npm_subversion}/.content/
64+
├── README.md
65+
├── bin
66+
TODO
67+
`} </CodeBlock>
68+
69+
</TabItem>
70+
71+
{%- endcase %}
72+
{%- endfor %}
73+
74+
</Tabs>
75+
276
<DeprecationNotices/>
377

478
<DownloadAnalytics version={frontMatter.version}/>

website/docs/_common/_build-website-locally.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
Validate the website content by performing a local build using the npm **build** script:
99

1010
```sh
11-
npm run build -C website
11+
npm run build -C ~/Work/xpack-dev-tools/realpath-xpack.git/website
1212
```
1313

1414
Resolve any broken links that may be identified during the build process.

website/docs/_common/_generate-top-commons.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ Execute the top **generate-top-commons** npm script to update the
99
`build-assets/package.json` and the GitHub workflow files.
1010

1111
```sh
12-
(cd ~/Work/xpack-dev-tools/realpath-xpack.git; npm run generate-top-commons)
12+
npm run generate-top-commons -C ~/Work/xpack-dev-tools/realpath-xpack.git
1313
```
1414

1515
### Commit the top changes
1616

1717
- Stage GitHub workflows and `package.json` files (top and from `build-assets`)
18-
- **Commit** with the message _**re-generate top commons to bump deps**_
18+
- **Commit** with the message _**re-generate top commons**_

website/docs/_common/_generate-website-commons.mdx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,16 @@
33

44
{/* ------------------------------------------------------------------------ */}
55

6-
### Update the website commons
6+
### Generate the website commons
77

88
Execute the **generate-website-commons** npm script from `website/package.json`
99
within the project folder.
1010

1111
```sh
12-
npm run generate-website-commons -C website
12+
npm run generate-website-commons -C ~/Work/xpack-dev-tools/realpath-xpack.git/website
1313
```
14+
15+
### Commit the website changes
16+
17+
- Stage the `website` folder and top `README.md`
18+
- **Commit** with the message _**re-generate website commons**_

website/docs/_common/_prepare-website.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ published on the project
1212
- Switch to the `xpack-development` branch
1313
- Execute the **website-generate-commons** npm script in the `website/package.json`
1414
```sh
15-
npm run website-generate-commons -C website
15+
npm run website-generate-commons -C ~/Work/xpack-dev-tools/realpath-xpack.git/website
1616
```
1717
- **Commit** all changes

website/docs/_common/_publish-website.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ The website deployment is performed automatically when pushing to the
1010
[GitHub Actions](https://github.com/xpack-dev-tools/realpath-xpack/actions/workflows/publish-github-pages.yml).
1111

1212
- Open https://xpack-dev-tools.github.io/realpath-xpack/docs/maintainer/#publish-the-website in a separate window
13-
- Stop the local web server
13+
- **Stop** the local web server
1414
- Switch to the `website` branch
1515
- **Merge** the `xpack-development` branch into the `website` branch
1616
- **Push** the `website` branch to GitHub
1717
:::info
1818
At this point, an automated GitHub Action will generate and publish the website.
1919
:::
2020
- Check out the `xpack-development` branch
21-
- Wait for the publication to complete
22-
- Refresh the web page
21+
- **Wait** for the publication to complete
22+
- **Refresh** the web page
2323
- The new release blog post is available
2424
at https://xpack-dev-tools.github.io/realpath-xpack/blog/
2525
- Record the post URL, as it must be used to update the release page

website/docs/_common/_start-local-web-server.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Execute the npm script **clear** followed by **start** in the website sub-projec
99
or execute the following within the project folder:
1010

1111
```sh
12-
npm run clear -C website
13-
npm run start -C website
12+
npm run clear -C ~/Work/xpack-dev-tools/realpath-xpack.git/website
13+
npm run start -C ~/Work/xpack-dev-tools/realpath-xpack.git/website
1414
```
1515

1616
Navigate to the **Maintainer Info** page,
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{/* DO NOT EDIT! */}
2+
{/* Automatically generated from docusaurus-template-liquid/templates/docusaurus. */}
3+
4+
{/* ------------------------------------------------------------------------ */}
5+
6+
### Update the top commons
7+
8+
Execute the top **generate-top-commons** npm script to update the
9+
`build-assets/package.json` and the GitHub workflow files.
10+
11+
```sh
12+
npm run generate-top-commons -C ~/Work/xpack-dev-tools/realpath-xpack.git
13+
```

0 commit comments

Comments
 (0)