Skip to content

Commit 1a97e2d

Browse files
committed
website: updates
1 parent 299daaa commit 1a97e2d

File tree

9 files changed

+79
-33
lines changed

9 files changed

+79
-33
lines changed

website/docs/developer/index.mdx

+20-5
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# DO NOT EDIT!
44
# Automatically generated from xbb-helper/templates/docusaurus/common.
55

6-
title: Developer Information
7-
description: Assistance for developers looking to build the packages, including prerequisites, repositories used, and actions for each supported platform.
6+
title: Contributor's Guide
7+
description: Guidance for developers aiming to contribute new features or bug fixes, detailing how to build the binaries, including prerequisites, repositories utilised, and scripts.
88
keywords:
99
- xpack
1010
- arm-none-eabi-gcc
@@ -16,6 +16,8 @@ date: 2024-07-21 20:33:00 +0300
1616

1717
---
1818

19+
20+
1921
import Tabs from '@theme/Tabs';
2022
import TabItem from '@theme/TabItem';
2123
import CodeBlock from '@theme/CodeBlock';
@@ -29,11 +31,12 @@ import More from './_more.mdx'
2931

3032
{/* ------------------------------------------------------------------------ */}
3133

32-
# How to build the xPack GNU Arm Embedded GCC
34+
# How to contribute to the xPack GNU Arm Embedded GCC
3335

3436
[![license](https://img.shields.io/github/license/xpack-dev-tools/arm-none-eabi-gcc-xpack)](https://github.com/xpack-dev-tools/arm-none-eabi-gcc-xpack/blob/xpack/LICENSE)
3537

36-
This page is designed for developers of the
38+
This page is designed for developers who plan to contribute new features
39+
or fix bugs in the
3740
**xPack GNU Arm Embedded GCC**
3841
project and provides documentation on how to build and test the package.
3942

@@ -193,7 +196,8 @@ The build scripts run on GNU/Linux and macOS. The Windows binaries are
193196
compiled on x64 GNU/Linux, using [mingw-w64](https://mingw-w64.org).
194197

195198
For details on installing the prerequisites, please read the
196-
[XBB prerequisites page](https://xpack.github.io/xbb/prerequisites/).
199+
[Build Prerequisites](https://xpack-dev-tools.github.io/docs/developer/install/prerequisites/)
200+
page.
197201

198202
## Get project sources
199203

@@ -244,6 +248,15 @@ git clone \
244248

245249
</details>
246250

251+
:::tip
252+
253+
To contribute Pull Requests, fork the project and be sure the **Copy the master branch only** is **disabled**.
254+
255+
Use the `xpack-development` branch and be sure you contribute the
256+
Pull Requests back to the `xpack-development` branch.
257+
258+
::
259+
247260
<details>
248261
<summary>Get the writable helper sources (optional, for development purposes)</summary>
249262

@@ -345,3 +358,5 @@ https://github.com/xpack-dev-tools/files-cache/tree/master/libs),
345358
place them in the XBB cache (`Work/cache`) and restart the build.
346359

347360
<More/>
361+
362+

website/docs/getting-started/index.mdx

+11-10
Original file line numberDiff line numberDiff line change
@@ -65,22 +65,23 @@ this project also includes the
6565

6666
<UpgradeNotice/>
6767

68-
## xPacks
68+
## What are xpm packages? (xPacks)
6969

70-
**xPacks** (short for **xpm packages**) are general-purpose,
71-
language-neutral software packages.
70+
**xpm packages**, abbreviated as **xPacks**, are versatile,
71+
language-neutral software packages. They have been successfully
72+
utilised in C/C++ projects.
7273

7374
<details>
74-
<summary>What the heck are xPacks? Please, do not introduce another package format!</summary>
75+
<summary>What the heck are xpm packages / xPacks? Please, do not introduce another package format!</summary>
7576

76-
While the initial appearance may seem complex, utilizing xPacks
77-
(xpm packages) is, in fact, straightforward.
77+
While the initial appearance may seem complex, utilizing
78+
xpm packages is, in fact, straightforward.
7879
The design rationale is to automate frequent
7980
operations that occur during software development, in this case the
8081
installation of
8182
dependencies, and to ensure reproducibility.
8283

83-
xPacks are managed by **[xpm](https://xpack.github.io/xpm/)**
84+
These packages are managed by **[xpm](https://xpack.github.io/xpm/)**
8485
(the xPack Project Manager),
8586
a program that complements the **[npm](https://docs.npmjs.com/cli/)** CLI
8687
(the popular JavaScript package manager), with new language-neutral features.
@@ -95,7 +96,7 @@ same repositories as **npm**, whether public or private.
9596
The packages (usually regular archives, but also git repositories),
9697
are extracted into separate folders within the project.
9798

98-
Based on the content, there are two types of packages:
99+
Based on the content, there are two types of xpm packages:
99100

100101
- **source packages** (that install source files, usually libraries) and
101102
- **binary packages** (that install executables/binary files, usually tools).
@@ -113,8 +114,8 @@ archives, the packages are extracted only once into a user global location to
113114
conserve space. In projects, instead of duplicating the content of these
114115
archives, symbolic links are created.
115116

116-
Simply put, xPacks can be used to further automate the installation of source
117-
libraries and tools.
117+
Simply put, xpm packages can be used to further automate the
118+
installation of source libraries and tools.
118119

119120
</details>
120121

website/docs/install/index.mdx

+4
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ date: 2020-08-21 11:09:00 +0300
2020

2121
---
2222

23+
24+
2325
import Tabs from '@theme/Tabs';
2426
import TabItem from '@theme/TabItem';
2527
import CodeBlock from '@theme/CodeBlock';
@@ -685,3 +687,5 @@ After install, the package creates a hierarchy of folders like the following
685687
<Miscellaneous/>
686688

687689
<Testing/>
690+
691+

website/docs/maintainer/index.mdx

+8-3
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,22 @@
33
# DO NOT EDIT!
44
# Automatically generated from xbb-helper/templates/docusaurus/common.
55

6-
title: Maintainer Information
6+
title: Maintainer's Guide
77
description: Assistance for project maintainers, including the release schedule, versioning scheme, and instructions on how to build, test, and publish.
88
keywords:
99
- xpack
1010
- arm-none-eabi-gcc
11-
- releases
1211
- build
12+
- releases
1313
- publish
1414
- npmjs
1515

1616
date: 2024-07-21 20:11:00 +0300
1717

1818
---
1919

20+
21+
2022
import Tabs from '@theme/Tabs';
2123
import TabItem from '@theme/TabItem';
2224

@@ -59,7 +61,8 @@ The Windows binaries are
5961
compiled on x64 GNU/Linux, using [mingw-w64](https://mingw-w64.org).
6062

6163
For details on installing the prerequisites, please read the
62-
[XBB prerequisites page](https://xpack.github.io/xbb/prerequisites/).
64+
[Build Prerequisites](https://xpack-dev-tools.github.io/docs/developer/install/prerequisites/)
65+
page.
6366

6467
## Get project sources
6568

@@ -945,3 +948,5 @@ The results are available from the
945948
Credit to [Shields IO](https://shields.io) for the badges and to
946949
[Somsubhra/github-release-stats](https://github.com/Somsubhra/github-release-stats)
947950
for the individual file counters.
951+
952+

website/docs/user/index.mdx

+4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ date: 2024-07-21 18:56:00 +0300
1717

1818
---
1919

20+
21+
2022
import customField from '@site/src/libs/customField';
2123

2224
import Versioning from './_versioning.mdx';
@@ -38,3 +40,5 @@ to use the **xPack GNU Arm Embedded GCC** binaries in their workflows.
3840
<More/>
3941

4042
<UseInTesting/>
43+
44+

website/docusaurus.config.ts

+16-3
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,9 @@ const config: Config = {
286286
],
287287
// https://docusaurus.io/docs/seo
288288
themeConfig: {
289-
// Replace with your project's social card
290-
// image: 'img/docusaurus-social-card.jpg',
289+
// The project's social card, og:image, twitter:image, 1200x630
290+
image: 'img/sunrise-og-image.jpg',
291+
291292
metadata: [
292293
{
293294
name: 'keywords',
@@ -326,9 +327,21 @@ const config: Config = {
326327
to: '/docs/install'
327328
},
328329
{
329-
label: 'User Information',
330+
label: 'User\'s Guide',
330331
to: '/docs/user'
331332
},
333+
{
334+
label: 'Contributor\'s Guide',
335+
to: '/docs/developer'
336+
},
337+
{
338+
label: 'Maintainer\'s Guide',
339+
to: '/docs/maintainer'
340+
},
341+
{
342+
label: 'FAQ',
343+
to: '/docs/faq'
344+
},
332345
{
333346
label: 'Help Centre',
334347
to: '/docs/support'

website/sidebars.ts

+12-12
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,17 @@ const sidebars: SidebarsConfig = {
3434
{
3535
type: 'doc',
3636
id: 'user/index',
37-
label: 'User Information'
37+
label: 'User\'s Guide'
38+
},
39+
{
40+
type: 'doc',
41+
id: 'developer/index',
42+
label: 'Contributor\'s Guide'
43+
},
44+
{
45+
type: 'doc',
46+
id: 'maintainer/index',
47+
label: 'Maintainer\'s Guide'
3848
},
3949
{
4050
type: 'doc',
@@ -55,17 +65,7 @@ const sidebars: SidebarsConfig = {
5565
type: 'doc',
5666
id: 'about/index',
5767
label: 'About'
58-
},
59-
{
60-
type: 'doc',
61-
id: 'developer/index',
62-
label: 'Developer Information'
63-
},
64-
{
65-
type: 'doc',
66-
id: 'maintainer/index',
67-
label: 'Maintainer Information'
68-
},
68+
}
6969
],
7070
};
7171

website/src/css/custom.css

+4
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,8 @@ img.mac-stadium-img {
118118
width: 200px;
119119
}
120120

121+
code {
122+
vertical-align: baseline;
123+
}
124+
121125
/* ------------------------------------------------------------------------- */
206 KB
Loading

0 commit comments

Comments
 (0)