Skip to content

Commit eb0432e

Browse files
committed
website: more rework with commons
1 parent b13590e commit eb0432e

File tree

24 files changed

+191
-105
lines changed

24 files changed

+191
-105
lines changed

website/docs/developer/_common/_content.mdx

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

11-
import customField from '@site/src/libs/customField';
12-
1311
import PlatformNativeSection from './_platform-native-section.mdx';
1412
import PlatformDockerSection from './_platform-docker-section.mdx';
1513
import OtherRepositories from '../_project/_other-repositories.mdx';

website/docs/developer/_common/_platform-docker-section.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
import CodeBlock from '@theme/CodeBlock';
55

6-
import customField from '@site/src/libs/customField';
76
import {developmentDurations} from '../../_shared/_development-durations.mdx';
87

98
{/* ------------------------------------------------------------------------ */}

website/docs/developer/_common/_platform-native-section.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
import CodeBlock from '@theme/CodeBlock';
55

6-
import customField from '@site/src/libs/customField';
76
import {developmentDurations} from '../../_shared/_development-durations.mdx';
87

98
{/* ------------------------------------------------------------------------ */}

website/docs/developer/index.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ keywords:
1212
- repositories
1313
- build
1414

15-
date: 2024-07-21 20:33:00 +0300
15+
date: 2024-10-25 13:10:00 +0300
1616

1717
---
1818

@@ -24,6 +24,7 @@ import Content from './_common/_content.mdx';
2424
[![GitHub issues](https://img.shields.io/github/issues/xpack-dev-tools/mingw-w64-gcc-xpack)](https://github.com/xpack-dev-tools/mingw-w64-gcc-xpack/issues)
2525
[![GitHub pulls](https://img.shields.io/github/issues-pr/xpack-dev-tools/mingw-w64-gcc-xpack)](https://github.com/xpack-dev-tools/mingw-w64-gcc-xpack/pulls/)
2626

27+
2728
# How to contribute to the xPack MinGW-w64 GCC
2829

2930
This page is designed for developers who plan to contribute new features
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{/* DO NOT EDIT! */}
2+
{/* Automatically generated from docusaurus-template-liquid/templates/docusaurus. */}
3+
4+
import Link from '@docusaurus/Link';
5+
6+
{/* ------------------------------------------------------------------------ */}
7+
8+
<Link to="https://www.macstadium.com/"><img className="mac-stadium-img" alt="MacStadium" src="https://uploads-ssl.webflow.com/5ac3c046c82724970fc60918/5c019d917bba312af7553b49_MacStadium-developerlogo.png"></img></Link>
9+
10+
## Credits
11+
12+
Special thanks to **MacStadium**, for providing the Apple Silicon
13+
development infrastructure as part of their generous
14+
[Free and Open Source Software](https://www.macstadium.com/company/opensource)
15+
program.
16+
17+
Thanks to [Shields IO](https://shields.io) for the badges.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{/* DO NOT EDIT! */}
2+
{/* Automatically generated from docusaurus-template-liquid/templates/docusaurus. */}
3+
4+
{/* ------------------------------------------------------------------------ */}
5+
6+
## Enjoyed Using This Project? Let Us Know!
7+
8+
If you enjoyed using this project, please let us know! Here are some ways you can show your support:
9+
10+
- **Donate**: Your contributions, whether small or generous, help us keep the xPack projects thriving. [![Donate](https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif)](https://www.paypal.com/donate/?hosted_button_id=5MFRG9ZRBETQ8)
11+
- **Star** the project on [GitHub](https://github.com/xpack-dev-tools/mingw-w64-gcc-xpack/): It helps others discover our work.
12+
- **Follow** us on [X/Twitter](https://twitter.com/xpack_project/): Stay updated with our latest releases and news.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{/* DO NOT EDIT! */}
2+
{/* Automatically generated from docusaurus-template-liquid/templates/docusaurus. */}
3+
4+
{/* ------------------------------------------------------------------------ */}
5+
6+
## License
7+
8+
The original content is released under the
9+
[MIT License](https://opensource.org/license/mit/),
10+
with all rights reserved to
11+
[Liviu Ionescu](https://github.com/ilg-ul).
12+
13+
The binary distributions include several open-source components; the
14+
corresponding licenses are available in each archive in the
15+
`distro-info/licenses` folder.
16+
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
{/* ------------------------------------------------------------------------ */}

website/docs/getting-started/index.mdx

Lines changed: 9 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ import OtherBenefits from './_project/_other-benefits.mdx';
2828
import UpgradeNotice from './_project/_upgrade-notice.mdx';
2929
import Compatibility from './_project/_compatibility.mdx';
3030

31+
import License from './_common/_license.mdx';
32+
import Credits from './_common/_credits.mdx';
33+
import MoreCredits from './_project/_more-credits.mdx';
34+
import EnjoyedUsing from './_common/_enjoyed-using.mdx';
35+
3136
import ReleaseSchedule from '../_shared/_release-schedule.mdx';
3237

3338
{/* ------------------------------------------------------------------------ */}
@@ -225,37 +230,15 @@ all available from the
225230
[`mingw-w64-gcc-xpack.git/build-assets/scripts`](https://github.com/xpack-dev-tools/mingw-w64-gcc-xpack/tree/xpack/build-assets/scripts/)
226231
folder. The scripts include common code from the [`@xpack-dev-tools/xbb-helper`](https://github.com/xpack-dev-tools/xbb-helper-xpack) package.
227232

228-
## License
229-
230-
Unless otherwise stated, the original content is released under the terms of the
231-
[MIT License](https://opensource.org/licenses/mit/),
232-
with all rights reserved to
233-
[Liviu Ionescu](https://github.com/ilg-ul).
234-
235-
The binary distributions include several open-source components; the
236-
corresponding licenses are available in each archive in the
237-
`distro-info/licenses` folder.
233+
<License />
238234

239235
## Releases
240236

241237
The list of releases is available in the [Releases](/docs/releases/) pages.
242238

243-
<Link to="https://www.macstadium.com/"><img className="mac-stadium-img" alt="MacStadium" src="https://uploads-ssl.webflow.com/5ac3c046c82724970fc60918/5c019d917bba312af7553b49_MacStadium-developerlogo.png"></img></Link>
244-
245-
## Credits
246-
247-
Special thanks to **MacStadium**, for providing the Apple Silicon
248-
development infrastructure as part of their generous
249-
[Free and Open Source Software](https://www.macstadium.com/company/opensource)
250-
program.
251-
252-
Thanks to [Shields IO](https://shields.io) for the badges.
239+
<Credits />
253240

254-
## Enjoyed Using This Project? Let Us Know!
241+
<MoreCredits />
255242

256-
If you enjoyed using this project, please let us know! Here are some ways you can show your support:
243+
<EnjoyedUsing />
257244

258-
- **Donate**: Your contributions (small or
259-
generous) help us keep the xPack projects thriving. [![Donate](https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif)](https://www.paypal.com/donate/?hosted_button_id=5MFRG9ZRBETQ8)
260-
- **Star** the project on [GitHub](https://github.com/xpack-dev-tools/mingw-w64-gcc-xpack/): It helps others discover our work.
261-
- **Follow** us on [X/Twitter](https://twitter.com/xpack_project/): Stay updated with our latest releases and news.

website/docs/install/_common/_automatic-install-quick-test.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ import CodeBlock from '@theme/CodeBlock';
55
import Tabs from '@theme/Tabs';
66
import TabItem from '@theme/TabItem';
77

8-
import customField from '@site/src/libs/customField';
9-
108
{/* ------------------------------------------------------------------------ */}
119

1210
### Quick test

0 commit comments

Comments
 (0)