Skip to content

Commit 380fe2e

Browse files
committed
website: updates
1 parent 6dbe940 commit 380fe2e

File tree

12 files changed

+244
-17
lines changed

12 files changed

+244
-17
lines changed

website/docs/about/_common/_intro-secondary.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{/* ------------------------------------------------------------------------ */}
55

66
This project currently functions as a supplementary tool for building
7-
the primary xPack Development Tools. Since these tools are exclusively
7+
the main xPack Development Tools. Since these tools are exclusively
88
built on macOS and GNU/Linux, to reduce maintenance efforts, for now
99
there are no Windows binaries. However, the project is versatile and can be
1010
used in any builds; if necessary, Windows binaries can be added in future

website/docs/about/index.mdx

+4-3
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ a senior computer engineer, with expertise in **C++/C embedded systems**,
4242
**RTOSes**, **build tools**, operating systems, compilers
4343
and Internet technologies.
4444

45-
He can be reached at [`<ilg@livius.net>`](mailto:ilg@livius.net) (this email
46-
address is given for courtesy, for all correspondence related to this
47-
project please use the project [support](/docs/support/) page).
45+
He can be reached at [`<ilg@livius.net>`](mailto:ilg@livius.net).
46+
Please note, this email address is provided as a courtesy.
47+
For all correspondence related to the **xPack GNU Arm Embedded GCC**
48+
project, kindly use the project [support](/docs/support/) page).

website/docs/getting-started/index.mdx

+3-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ import ReleaseSchedule from './_release-schedule.mdx'
2424
## Overview
2525

2626
**xPack GNU Arm Embedded GCC** is a standalone
27-
cross-platform (Windows, macOS, GNU/Linux)binary distribution of GNU Arm Embedded GCC,
28-
intended for reproducible builds.
27+
cross-platform (Windows, macOS, GNU/Linux) binary
28+
distribution of GNU Arm Embedded GCC,
29+
aimed at reproducible builds.
2930

3031
<Overview/>
3132

website/docusaurus.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ const config: Config = {
232232
alt: 'xPack Logo',
233233
src: 'img/components-256.png',
234234
// href: 'https://xpack.github.io/',
235-
// href: 'https://xpack-dev-tools.github.io/arm-none-eabi-gcc-xpack/'
235+
href: 'https://xpack-dev-tools.github.io/'
236236
},
237237
items: [
238238
{

website/src/components/HomepageFeatures/styles.module.css

+4
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,7 @@
1414
height: 100px;
1515
width: 100px;
1616
}
17+
18+
svg.featureSvg path {
19+
stroke: var(--docusaurus-svg-color);
20+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,199 @@
1+
/*
2+
* DO NOT EDIT!
3+
* Automatically generated from xbb-helper/templates/docusaurus/common.
4+
*
5+
* This file is part of the xPack project (http://xpack.github.io).
6+
* Copyright (c) 2024 Liviu Ionescu. All rights reserved.
7+
*
8+
* Permission to use, copy, modify, and/or distribute this software
9+
* for any purpose is hereby granted, under the terms of the MIT license.
10+
*
11+
* If a copy of the license was not distributed with this file, it can
12+
* be obtained from https://opensource.org/licenses/MIT/.
13+
*/
14+
15+
import clsx from 'clsx';
16+
import Heading from '@theme/Heading';
17+
import styles from './styles.module.css';
18+
19+
import Link from '@docusaurus/Link';
20+
21+
const PrimaryTools = [
22+
{
23+
appName: 'GNU AArch64 Embedded GCC',
24+
appLcName: 'aarch64-none-elf-gcc'
25+
},
26+
{
27+
appName: 'GNU Arm Embedded GCC',
28+
appLcName: 'arm-none-eabi-gcc'
29+
},
30+
{
31+
appName: 'LLVM clang',
32+
appLcName: 'clang'
33+
},
34+
{
35+
appName: 'CMake',
36+
appLcName: 'cmake'
37+
},
38+
{
39+
appName: 'GCC',
40+
appLcName: 'gcc'
41+
},
42+
{
43+
appName: 'Meson Build',
44+
appLcName: 'meson-build'
45+
},
46+
{
47+
appName: 'MinGW-w64 GCC',
48+
appLcName: 'mingw-w64-gcc'
49+
},
50+
{
51+
appName: 'Ninja Build',
52+
appLcName: 'ninja-build'
53+
},
54+
{
55+
appName: 'OpenOCD',
56+
appLcName: 'openocd'
57+
},
58+
{
59+
appName: 'QEMU Arm',
60+
appLcName: 'qemu-arm'
61+
},
62+
{
63+
appName: 'QEMU RISC-V',
64+
appLcName: 'qemu-riscv'
65+
},
66+
{
67+
appName: 'GNU RISC-V Embedded GCC',
68+
appLcName: 'riscv-none-elf-gcc'
69+
},
70+
{
71+
appName: 'Windows Build Tools',
72+
appLcName: 'windows-build-tools'
73+
},
74+
]
75+
76+
77+
const SecondaryTools = [
78+
{
79+
appName: 'GNU bison',
80+
appLcName: 'bison'
81+
},
82+
{
83+
appName: 'flex',
84+
appLcName: 'flex'
85+
},
86+
{
87+
appName: 'GNU m4',
88+
appLcName: 'm4'
89+
},
90+
{
91+
appName: 'NixOS PatchELF',
92+
appLcName: 'patchelf'
93+
},
94+
{
95+
appName: 'pkg-config',
96+
appLcName: 'pkg-config'
97+
},
98+
{
99+
appName: 'GNU realpath',
100+
appLcName: 'realpath'
101+
},
102+
{
103+
appName: 'GNU sed',
104+
appLcName: 'sed'
105+
},
106+
{
107+
appName: 'WineHQ',
108+
appLcName: 'wine'
109+
},
110+
]
111+
112+
const WorkInProgressTools = [
113+
{
114+
appName: 'GNU Bash',
115+
appLcName: 'bash'
116+
},
117+
{
118+
appName: 'GNU texinfo',
119+
appLcName: 'texinfo'
120+
},
121+
]
122+
123+
function Tool({ appName, appLcName }) {
124+
return (
125+
<>
126+
<div className="padding-vert--sm">
127+
<div>
128+
<b><Link to={'https://xpack-dev-tools.github.io/' + appLcName + '-xpack'}>{appLcName}</Link></b> - <b>xPack {appName}</b>
129+
</div>
130+
<div className="padding-top--xs">
131+
<Link to={'https://github.com/xpack-dev-tools/' + appLcName + '-xpack/releases/'}><img src={'https://img.shields.io/github/v/release/xpack-dev-tools/' + appLcName + '-xpack'} /></Link>
132+
&nbsp;<Link to={'https://github.com/xpack-dev-tools/' + appLcName + '-xpack/releases/'}><img alt="GitHub Release Date" src={'https://img.shields.io/github/release-date/xpack-dev-tools/' + appLcName + '-xpack?label=date&color=YellowGreen'} /></Link>
133+
&nbsp;<Link to={'https://github.com/xpack-dev-tools/' + appLcName + '-xpack/releases/'}><img alt="GitHub Downloads (all assets, all releases)" src={'https://img.shields.io/github/downloads/xpack-dev-tools/' + appLcName + '-xpack/total.svg'} /></Link>
134+
</div>
135+
</div>
136+
</>
137+
)
138+
}
139+
140+
function ToolWork({ appName, appLcName }) {
141+
return (
142+
<>
143+
<div>
144+
<b><Link to={'https://xpack-dev-tools.github.io/' + appLcName + '-xpack'}>{appLcName}</Link></b> - <b>xPack {appName}</b>
145+
</div>
146+
</>
147+
)
148+
}
149+
150+
function ToolsLeft() {
151+
return (
152+
<div className={clsx('col col--6')}>
153+
<div className="text--center padding-horiz--md padding-vert--lg">
154+
<Heading as="h2">Main Tools</Heading>
155+
{PrimaryTools.map((props, idx) => (
156+
<Tool {...props} />
157+
))}
158+
</div>
159+
</div>
160+
);
161+
}
162+
163+
function ToolsRight() {
164+
return (
165+
<div className={clsx('col col--6')}>
166+
<div className="text--center padding-horiz--md padding-vert--lg">
167+
<Heading as="h2">Supplementary Tools</Heading>
168+
{SecondaryTools.map((props, idx) => (
169+
<Tool {...props} />
170+
))}
171+
</div>
172+
<hr className="hero__hr2" />
173+
<div className="text--center padding-horiz--md padding-vert--md">
174+
<Heading as="h2">Work in Progress</Heading>
175+
{WorkInProgressTools.map((props, idx) => (
176+
<ToolWork {...props} />
177+
))}
178+
</div>
179+
<hr className="hero__hr2" />
180+
<div className="text--center padding-horiz--md padding-vert--md">
181+
<Heading as="h2">Internal</Heading>
182+
<b><Link to={'https://github.com/xpack-dev-tools/xbb-helper-xpack'}>xbb-helper</Link></b> - <b>xPack Build Helper</b>
183+
</div>
184+
</div>
185+
);
186+
}
187+
188+
export default function HomepageTools(): JSX.Element {
189+
return (
190+
<section className={styles.features}>
191+
<div className="container">
192+
<div className="row padding-bottom--lg">
193+
<ToolsLeft key={0} />
194+
<ToolsRight key={1} />
195+
</div>
196+
</div>
197+
</section>
198+
);
199+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/*
2+
* DO NOT EDIT!
3+
* Automatically generated from xbb-helper/templates/docusaurus/common.
4+
*/
5+
6+
.features {
7+
display: flex;
8+
align-items: center;
9+
padding: 0rem 0 0rem 0;
10+
width: 100%;
11+
}
12+
13+
.featureSvg {
14+
height: 100px;
15+
width: 100px;
16+
}

website/src/css/custom.css

+13
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
--ifm-color-primary-lightest: #97c0fe;
1919
--ifm-code-font-size: 95%;
2020
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
21+
--docusaurus-svg-color: #323232;
2122
}
2223

2324
/* For readability concerns, you should choose a lighter palette in dark mode. */
@@ -30,13 +31,25 @@
3031
--ifm-color-primary-lighter: #69a4fe;
3132
--ifm-color-primary-lightest: #97c0fe;
3233
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
34+
--docusaurus-svg-color: #CDCDCD;
3335
}
3436

3537
/* For the home page xpm install field */
3638
p.hero__code code {
3739
color: var(--ifm-font-color-base)
3840
}
3941

42+
43+
44+
hr.hero__hr {
45+
/* background-color: var(--ifm-color-primary); */
46+
height: 3px;
47+
}
48+
49+
hr.hero__hr2 {
50+
height: 2px;
51+
}
52+
4053
/* Reduce size of blog titles (H2 is 2rem) */
4154
.title_f1Hy {
4255
font-size: 2.5rem; /* 3rem; */

website/src/pages/markdown-page.md

-7
This file was deleted.

website/static/img/check-badge.svg

+1-1
Loading

website/static/img/globe.svg

+1-1
Loading

website/static/img/mosaic.svg

+1-1
Loading

0 commit comments

Comments
 (0)