Skip to content

Commit d1d2651

Browse files
committed
website: re-generate commons to 3.9.2
1 parent 3fb682d commit d1d2651

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+5391
-3867
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11

22
[![license](https://img.shields.io/github/license/xpack/xpack.github.io)](https://github.com/xpack/xpack.github.io/blob/website/LICENSE)
3+
[![Website](https://img.shields.io/website?url=https%3A%2F%2Fxpack.github.io%2Fxpack.github.io%2F)](https://xpack.github.io/)
34

45
# The xPack Project website source
56

website/.gitignore

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1+
# DO NOT EDIT!
2+
# Automatically generated from docusaurus-template-liquid/templates/docusaurus.
3+
14
# Dependencies
25
/node_modules
36

47
# Production
58
/build
69

710
# Generated files
8-
.docusaurus
9-
.cache-loader
11+
/.docusaurus
1012

1113
# Misc
1214
.DS_Store
@@ -18,3 +20,5 @@
1820
npm-debug.log*
1921
yarn-debug.log*
2022
yarn-error.log*
23+
24+
/tsdoc/doc-model/*.bak

website/docs/_common/_branches-details.mdx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,12 @@
66
<details>
77
<summary>Branches</summary>
88

9-
The project uses multiple branches:
9+
This project utilises multiple branches:
1010

1111
- `master`, not actively used
12-
- `webpreview`, with the current development version
13-
- `website`, with the current content of the website; pushes to this branch automatically trigger publishes the main website
14-
- `webpreview`, with the current content of the preview website; pushes to this branch automatically trigger publishes the preview website
12+
- `webpreview`, containing the current development version
1513

16-
All development is done in the `webpreview` branch, and contributions via
14+
All development is conducted in the `webpreview` branch, and contributions via
1715
Pull Requests should be directed to this branch.
1816

1917
When new releases are published, the `webpreview` branch is merged

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55

66
### Build the static website locally
77

8-
Validate the website content in a local build via the npm **build** script:
8+
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 --prefix ~/Work/xpack/xpack.github.io.git/website run build
1212
```
1313

14-
Fix any broken links, if any.
14+
Resolve any broken links that may be identified during the build process.

website/docs/_common/_code-formatting.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,24 @@
55

66
## Code formatting
77

8-
As formatting style, the library uses a
8+
For formatting style, the library employs a
99
[.clang-format](https://clang.llvm.org/docs/ClangFormat.html)
1010
configuration file based on the GNU style.
1111

12-
Code formatting is done using `clang-format --style=file`, either manually
13-
from a script, or automatically from Visual Studio Code, or the Eclipse
12+
Code formatting is performed using `clang-format --style=file`, either manually
13+
via a script, or automatically through Visual Studio Code, or the Eclipse
1414
CppStyle plug-in.
1515

1616
:::info
1717

18-
Visual Studio Code can directly utilise the `.clang-format` file in the
18+
Visual Studio Code can directly utilise the `.clang-format` file within the
1919
**Format Document** command.
2020

2121
:::
2222

2323
:::tip
2424

25-
Always reformat the source files that were changed before committing
25+
Always reformat the source files that have been modified before committing
2626
them to the repository.
2727

2828
:::

website/docs/_common/_continuous-integration.mdx

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

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

6-
The library undergoes continuous integration (CI) testing with every
7-
push using [GitHub Actions](https://github.com/xpack/xpack.github.io/actions).
6+
The library is subject to continuous integration (CI) testing with every
7+
push utilising [GitHub Actions](https://github.com/xpack/xpack.github.io/actions).
88
This ensures compatibility and stability across Ubuntu, macOS, and Windows
99
operating systems.
1010

11-
The tests are conducted on both 32-bit and 64-bit bare-metal platforms,
12-
including Arm Cortex-M0, Cortex-M3, Cortex-M4F, Cortex-M7F, Cortex-A15,
13-
Cortex-A72, RISC-V RV32IMAC, and RV64IMAFDC. Additionally, native
14-
testing is performed using GCC and LLVM/clang compilers, ensuring
15-
thorough validation across various environments.

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55

66
### Generate the top commons
77

8-
Run the top **generate-top-commons** npm script to update the
8+
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/xpack.github.io.git; npm run generate-top-commons)
12+
npm --prefix ~/Work/xpack/xpack.github.io.git run generate-top-commons
1313
```
1414

1515
### Commit the top changes
1616

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

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

Lines changed: 9 additions & 4 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

8-
Run the **generate-website-commons** npm script from `website/package.json`
9-
in the project folder.
8+
Execute the **generate-website-commons** npm script from `website/package.json`
9+
within the project folder.
1010

1111
```sh
12-
npm run generate-website-commons -C website
12+
npm --prefix ~/Work/xpack/xpack.github.io.git/website run generate-website-commons
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/_get-helper-sources-details.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ import CodeBlock from '@theme/CodeBlock';
66
{/* ------------------------------------------------------------------------ */}
77

88
<details>
9-
<summary>Get the writable helper sources (optional, for development purposes)</summary>
9+
<summary>Obtain the writable helper sources (optional, for development purposes)</summary>
1010

11-
The project has a dependency to a common helper, that is normally installed
12-
as a read-only dependency; for development purposes, to be able to make
13-
changes to the scripts located inside the helper, clone the
11+
The project has a dependency on a common helper, which is normally installed
12+
as a read-only dependency; for development purposes, to enable modifications
13+
to the scripts located within the helper, clone the
1414
<code>{props.helperBranchName}</code> branch and link it to the
1515
user's global xPacks store:
1616

@@ -23,13 +23,13 @@ git clone \\
2323
\ ~/Work/${props.helperOrganizationName}/${props.helperProjectName}.git \
2424
`} </CodeBlock>
2525

26-
Or, if the repo was already cloned:
26+
Alternatively, if the repository has already been cloned:
2727

2828
<CodeBlock language="sh"> {
2929
`git -C ~/Work/${props.helperOrganizationName}/${props.helperProjectName}.git pull
3030
`} </CodeBlock>
3131

32-
If a writable instance of this library is needed in another project,
32+
If a writable instance of this library is required in another project,
3333
add a link from the user's global xPacks store to it:
3434

3535
<CodeBlock language="sh"> {

website/docs/_common/_get-project-sources.mdx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ import BranchesDetails from './_branches-details.mdx'
55

66
{/* ------------------------------------------------------------------------ */}
77

8-
## Get project sources
8+
## Obtain project sources
99

1010
The project is hosted on GitHub:
1111

1212
- https://github.com/xpack/xpack.github.io.git
1313

1414
<BranchesDetails />
1515

16-
To clone the stable branch (`website`), run the following commands in a
16+
To clone the stable branch (`website`), execute the following commands in a
1717
terminal (on Windows use the _Git Bash_ console):
1818

1919
```sh
@@ -39,32 +39,32 @@ git clone \
3939

4040
</details>
4141

42-
Or, if the repo was already cloned:
42+
Alternatively, if the repository has already been cloned:
4343

4444
```sh
4545
git -C ~/Work/xpack/xpack.github.io.git pull
4646
```
4747

4848
:::tip
4949

50-
To contribute Pull Requests, fork the project and be sure the **Copy the master branch only** is **disabled**.
50+
To contribute Pull Requests, fork the project and ensure the **Copy the master branch only** is **disabled**.
5151

52-
Use the `xpack-development` branch and be sure you contribute the
53-
Pull Requests back to the `xpack-development` branch.
52+
Utilise the `webpreview` branch and ensure you contribute the
53+
Pull Requests back to the `webpreview` branch.
5454

5555
:::
5656

5757
## Add links for development
5858

59-
During development, it is convenient to have a writable instance of the
60-
module to make changes in parallel with the parent project.
59+
During development, it is convenient to maintain a writable instance of the
60+
module to enable changes in parallel with the parent project.
6161

6262
To facilitate the use of a writable instance of this library in other
63-
projects, add a link from the user's global xPacks store to this local
63+
projects, add a link from the user's global npm store to this local
6464
development folder:
6565

6666
```sh
67-
npm link -C ~/Work/xpack/xpack.github.io.git
67+
npm --prefix ~/Work/xpack/xpack.github.io.git link
6868
```
6969

7070
And in the projects referring it:

0 commit comments

Comments
 (0)