Skip to content

Commit

Permalink
add support for asciidoc partials
Browse files Browse the repository at this point in the history
  • Loading branch information
gdams committed Sep 12, 2023
1 parent 7269053 commit ee95b68
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 60 deletions.
59 changes: 59 additions & 0 deletions content/_partials/support-table.adoc
Original file line number Diff line number Diff line change
@@ -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

|===
61 changes: 2 additions & 59 deletions content/asciidoc-pages/support/index.adoc
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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
Expand Down
10 changes: 9 additions & 1 deletion gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit ee95b68

Please sign in to comment.