Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add global attributes to asciidoc #355

Open
gdams opened this issue Apr 5, 2022 · 2 comments
Open

Add global attributes to asciidoc #355

gdams opened this issue Apr 5, 2022 · 2 comments

Comments

@gdams
Copy link
Member

gdams commented Apr 5, 2022

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

@xavierfacq
Copy link
Member

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

@xavierfacq
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants