From c958028fc32ea960066ab251d54c7721d10ae7b4 Mon Sep 17 00:00:00 2001 From: Liviu Ionescu Date: Thu, 8 Aug 2024 14:13:49 +0300 Subject: [PATCH] website updates --- website/docs/getting-started/_more.mdx | 10 ++++++++++ website/docs/getting-started/index.mdx | 3 +++ website/docs/maintainer/index.mdx | 8 ++++++++ website/docs/tests/14.2.0-1.md | 10 ++++++++++ website/sidebars.ts | 7 +------ 5 files changed, 32 insertions(+), 6 deletions(-) create mode 100644 website/docs/getting-started/_more.mdx create mode 100644 website/docs/tests/14.2.0-1.md diff --git a/website/docs/getting-started/_more.mdx b/website/docs/getting-started/_more.mdx new file mode 100644 index 0000000..1e51c34 --- /dev/null +++ b/website/docs/getting-started/_more.mdx @@ -0,0 +1,10 @@ + +{/* ------------------------------------------------------------------------ */} + +## Tests reports + +- [14.2.0-1](/docs/tests/14.2.0-1/) +- [14.1.0-1](/docs/tests/14.1.0-1/) +- [13.3.0-1](/docs/tests/13.3.0-1/) +- [12.4.0-1](/docs/tests/12.4.0-1/) +- [11.5.0-1](/docs/tests/11.5.0-1/) diff --git a/website/docs/getting-started/index.mdx b/website/docs/getting-started/index.mdx index 58ef189..d44e2b2 100644 --- a/website/docs/getting-started/index.mdx +++ b/website/docs/getting-started/index.mdx @@ -14,6 +14,7 @@ import UpgradeNotice from './_upgrade-notice.mdx'; import Compatibility from './_compatibility.mdx'; import Documentation from './_documentation.mdx' import ReleaseSchedule from './_release-schedule.mdx' +import More from './_more.mdx' {/* ------------------------------------------------------------------------ */} @@ -136,3 +137,5 @@ corresponding licenses are available in each archive in the ## Releases The list of releases is available in the [Releases](/docs/releases/) pages. + + diff --git a/website/docs/maintainer/index.mdx b/website/docs/maintainer/index.mdx index e5d9d68..25aa3e3 100644 --- a/website/docs/maintainer/index.mdx +++ b/website/docs/maintainer/index.mdx @@ -709,6 +709,14 @@ This will install the package via `xpm install` on all supported platforms. The tests results are available from the [GitHub Actions](https://github.com/xpack-dev-tools/gcc-xpack/actions/) page. +### Copy the test results + +For the toolchain projects, download the `test-report.zip` file, unzip it +and copy the markdown file to `website/docs/tests`. + +Edit the `website/docs/getting-started/_more.mdx` file to add the +new page. + ### Tag the npm package as `latest` When the release is considered stable, promote it as `latest`: diff --git a/website/docs/tests/14.2.0-1.md b/website/docs/tests/14.2.0-1.md new file mode 100644 index 0000000..42305a2 --- /dev/null +++ b/website/docs/tests/14.2.0-1.md @@ -0,0 +1,10 @@ +--- +title: GCC 14.2.0-1 test results +permalink: /dev-tools/gcc/tests/14.2.0-1/ + +comments: true + +date: 2024-08-08 10:56:22 +0000 + +--- + diff --git a/website/sidebars.ts b/website/sidebars.ts index 9dd8d90..07d926b 100644 --- a/website/sidebars.ts +++ b/website/sidebars.ts @@ -60,12 +60,7 @@ const sidebars: SidebarsConfig = { label: 'Releases' } ], - testsSidebar: [ - { - type: 'autogenerated', - dirName: 'tests' - } - ] + testsSidebar: [{type: 'autogenerated', dirName: 'tests'}], }; export default sidebars;