From ee95b681c1f2e6bfa1a33cc48f71236f4cdba3b3 Mon Sep 17 00:00:00 2001 From: George Adams Date: Tue, 12 Sep 2023 20:50:18 +0100 Subject: [PATCH] add support for asciidoc partials --- content/_partials/support-table.adoc | 59 ++++++++++++++++++++++ content/asciidoc-pages/support/index.adoc | 61 +---------------------- gatsby-config.js | 10 +++- 3 files changed, 70 insertions(+), 60 deletions(-) create mode 100644 content/_partials/support-table.adoc diff --git a/content/_partials/support-table.adoc b/content/_partials/support-table.adoc new file mode 100644 index 0000000000..c0f490b1f2 --- /dev/null +++ b/content/_partials/support-table.adoc @@ -0,0 +1,59 @@ +[width="100%",cols="5*",options="header",] +|=== + +| Java Version | First Availability | Latest Release | Next Release Due | End of Availability ^[1]^ + +| Java 21 (LTS) +| Expected + +Sep 2023 +| Not available +| Expected + +Sep 2023 +| Expected Sep 2029 + +| Java 20 +| Mar 2023 +| 20 Jul 2023 + +[.small]#jdk-20.0.2+9# +| EOSL^[2]^ +| Expected Sep 2023 + +| Java 19 +| Sep 2022 +| 17 Jan 2023 + +[.small]#jdk-19.0.2+7# +| EOSL^[2]^ +| Mar 2023 + +| Java 18 +| Mar 2022 +| 28 Aug 2022 + +[.small]#jdk-18.0.2.1+1# +| EOSL^[2]^ +| Sep 2022 + +| Java 17 (LTS) +| Sep 2021 +| 18 Jul 2023 + +[.small]#jdk-17.0.8+7# +| 17 Oct 2023 + +[.small]#jdk-17.0.9# +| At least Oct 2027 + +| Java 11 (LTS) +| Sep 2018 +| 18 Jul 2023 + +[.small]#jdk-11.0.20+8# +| 17 Oct 2023 + +[.small]#jdk-11.0.21# +| At least Oct 2024 + +| Java 8 (LTS) +| Mar 2014 +| 21 Jul 2023 + +[.small]#jdk8u382-b05# +| 17 Oct 2023 + +[.small]#jdk8u392# +| At least Nov 2026 + +|=== \ No newline at end of file diff --git a/content/asciidoc-pages/support/index.adoc b/content/asciidoc-pages/support/index.adoc index 7ea278730c..0a456de588 100644 --- a/content/asciidoc-pages/support/index.adoc +++ b/content/asciidoc-pages/support/index.adoc @@ -1,6 +1,7 @@ = Temurin(TM) Support :page-authors: gdams, karianna, sxa, tellison, SueChaplain, sxa555, mvitz, ParkerM, M-Davies, Malax, lasombra, practicalli-john, jeffalder, hendrikebbers, douph1, andrew-m-leonard, mr-david-owens, DanHeidinga, sophia-guo, zdtsw, adamfarley :toc: +:partialDir: ../../_partials == Community Support @@ -56,65 +57,7 @@ https://calendar.google.com/calendar/embed?src=c_56d7263c0ceda87a1678f6144426f23 of our releases. We always prioritise the most popular platforms which will typically appear within a few days of these dates. -[width="100%",cols="5*",options="header",] -|=== - -| Java Version | First Availability | Latest Release | Next Release Due | End of Availability ^[1]^ - -| Java 21 (LTS) -| Expected + -Sep 2023 -| Not available -| Expected + -Sep 2023 -| Expected Sep 2029 - -| Java 20 -| Mar 2023 -| 20 Jul 2023 + -[.small]#jdk-20.0.2+9# -| EOSL^[2]^ -| Expected Sep 2023 - -| Java 19 -| Sep 2022 -| 17 Jan 2023 + -[.small]#jdk-19.0.2+7# -| EOSL^[2]^ -| Mar 2023 - -| Java 18 -| Mar 2022 -| 28 Aug 2022 + -[.small]#jdk-18.0.2.1+1# -| EOSL^[2]^ -| Sep 2022 - -| Java 17 (LTS) -| Sep 2021 -| 18 Jul 2023 + -[.small]#jdk-17.0.8+7# -| 17 Oct 2023 + -[.small]#jdk-17.0.9# -| At least Oct 2027 - -| Java 11 (LTS) -| Sep 2018 -| 18 Jul 2023 + -[.small]#jdk-11.0.20+8# -| 17 Oct 2023 + -[.small]#jdk-11.0.21# -| At least Oct 2024 - -| Java 8 (LTS) -| Mar 2014 -| 21 Jul 2023 + -[.small]#jdk8u382-b05# -| 17 Oct 2023 + -[.small]#jdk8u392# -| At least Nov 2026 - -|=== +include::{partialDir}/support-table.adoc[] ^[1]^ As a general philosophy, Adoptium will continue to build binaries for LTS releases as long as the corresponding upstream source is diff --git a/gatsby-config.js b/gatsby-config.js index 4bd72800a0..b17169d86a 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -129,7 +129,15 @@ module.exports = { ] } }, - 'gatsby-transformer-asciidoc', + { + resolve: 'gatsby-transformer-asciidoc', + options: { + safe: 'unsafe', + attributes: { + partialDir: path.join(__dirname, 'content/_partials'), + }, + }, + }, { resolve: 'gatsby-plugin-mdx', options: {