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 :icons: font
:section: guide :section: guide
:sections: guides :sections: guides
ifndef::asciidoctorconfigdir[:asciidoctorconfigdir: .]
include::{asciidoctorconfigdir}/attributes.adoc[]

View file

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

View file

@ -15,16 +15,10 @@ Make sure you have https://openjdk.java.net/[OpenJDK 17] installed.
== Download {project_name} == 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. from the {project_name} website.
<@profile.ifCommunity> After extracting this file, you should have a directory that is named `{archivebasename}-{version}`.
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>
include::templates/start-keycloak-localhost.adoc[] include::templates/start-keycloak-localhost.adoc[]

View file

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