Create an attribute for Getting Started (#24825)

* Create an attribute for Getting Started

Closes #24824

Signed-off-by: AndyMunro <amunro@redhat.com>
Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
Co-authored-by: Alexander Schwartz <aschwart@redhat.com>
This commit is contained in:
andymunro 2023-11-20 07:16:35 -05:00 committed by GitHub
parent 2bb31b1bfc
commit 7d62f6308d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 10 deletions

View file

@ -4,3 +4,6 @@
:icons: font
:section: guide
:sections: guides
ifndef::asciidoctorconfigdir[:asciidoctorconfigdir: .]
include::{asciidoctorconfigdir}/attributes.adoc[]

View file

@ -1 +1,3 @@
:project_name: Keycloak
:archivebasename: keycloak
:archivedownloadurl: https://github.com/keycloak/keycloak/releases/download/{version}/keycloak-{version}.zip

View file

@ -11,20 +11,14 @@ summary="Get started with {project_name} on bare metal">
== Before you start
Make sure you have https://openjdk.java.net/[OpenJDK 17] installed.
Make sure you have https://openjdk.java.net/[OpenJDK 17] installed.
== Download {project_name}
Download and extract https://github.com/keycloak/keycloak/releases/download/{version}/keycloak-{version}.zip[keycloak-{version}.zip]
Download and extract {archivedownloadurl}[{archivebasename}-{version}.zip]
from the {project_name} website.
<@profile.ifCommunity>
After extracting this file, you should have a directory with a name that starts with `keycloak-{version}`.
</@profile.ifCommunity>
<@profile.ifProduct>
After extracting this file, you should have a directory with a name that starts with `rhbk-{version}`.
</@profile.ifProduct>
After extracting this file, you should have a directory that is named `{archivebasename}-{version}`.
include::templates/start-keycloak-localhost.adoc[]

View file

@ -2,7 +2,7 @@
== Start {project_name}
. From a terminal, open the keycloak-{version} directory.
. From a terminal, open the `{archivebasename}-{version}` directory.
. Enter the following command:
<@profile.ifProduct>
+