adoptium.net icon indicating copy to clipboard operation
adoptium.net copied to clipboard

Add global attributes to asciidoc

Open gdams opened this issue 3 years ago • 2 comments

We should use global attributes to set variables that are used on multiple pages (e.g latest Temurin 8 version) this will also make it easier to update the variables when we do releases

gdams avatar Apr 05 '22 09:04 gdams

Do you have an exemple of variable that could be moved as a global attribute?

xavierfacq avatar Oct 04 '23 11:10 xavierfacq

NOTE: the idea was to use variables in asciidoc docs pages.

E.g the Linux installation page (https://github.com/adoptium/adoptium.net/blob/main/content/asciidoc-pages/installation/linux/index.adoc)

We would normally update this from temurin-17-jdk to temurin-21-jdk but I’d rather make use of the latestLTS variable that we set in graphql and inject it into the document

xavierfacq avatar Dec 09 '23 09:12 xavierfacq