Use appropriate cross-reference syntax in the UI Customization guide

Closes #49224

Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
Signed-off-by: Alex Szczuczko <aszczucz@redhat.com>
This commit is contained in:
Alex Szczuczko 2026-05-26 14:16:45 -06:00 committed by GitHub
parent 21ca050027
commit f59ea30dc3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 8 additions and 7 deletions

View file

@ -4,3 +4,4 @@
<#macro securingapps id anchor="">link:{links_securing-apps_${id}_url}<#if anchor != "">#${anchor}</#if>[{links_securing-apps_${id}_name}]</#macro>
<#macro gettingstarted id anchor="">link:{links_getting-started_${id}_url}<#if anchor != "">#${anchor}</#if>[{links_getting-started_${id}_name}]</#macro>
<#macro observability id anchor="">link:{links_observability_${id}_url}<#if anchor != "">#${anchor}</#if>[{links_observability_${id}_name}]</#macro>
<#macro uicustomization id anchor="">link:{links_ui-customization_${id}_url}<#if anchor != "">#${anchor}</#if>[{links_ui-customization_${id}_name}]</#macro>

View file

@ -3,8 +3,8 @@
include::../attributes.adoc[]
<#list ctx.guides as guide>
:links_ui_customization_${guide.id}_name: ${guide.title}
:links_ui_customization_${guide.id}_url: #${guide.id}
:links_ui-customization_${guide.id}_name: ${guide.title}
:links_ui-customization_${guide.id}_url: #${guide.id}
</#list>
<#list ctx.guides as guide>

View file

@ -59,5 +59,5 @@ jar xf quick-theme.jar
=== Trying out your new theme
Your theme includes the images and colors you provided. They appear throughout the Account Console, Admin Console, and login page.
Once your "Quick Theme" archive jar is deployed, you can fully test it using the procedures shown in the <<themes, Themes chapter>>. Essentially, you just need to choose your new theme on the Realm settings --> Themes tab.
Once your "Quick Theme" archive jar is deployed, you can fully test it using the procedures shown in the <@links.uicustomization id="themes"/> {section}. Essentially, you just need to choose your new theme on the Realm settings -> Themes tab.
</@tmpl.guide>

View file

@ -65,5 +65,5 @@ backend: {
== Using the pages
To see how to further integrate the pages, we recommend that you take a look at the output of the tool in the <<creating-your-own-console,Creating your own Console>> chapter.
</@tmpl.guide>
To see how to further integrate the pages, we recommend that you take a look at the output of the tool in the <@links.uicustomization id="creating-your-own-console"/> {section}.
</@tmpl.guide>

View file

@ -12,9 +12,9 @@ By default, the welcome theme is only used during the initial setup to create th
Since the welcome theme is not associated with a realm, it cannot be selected in the admin console like other themes.
To change the welcome theme, create and deploy a new welcome theme as described in <<_creating-a-theme,Creating a theme>>. Then, start the {project_name} server using the `spi-theme--welcome-theme` option.
To change the welcome theme, create and deploy a new welcome theme as described in <@links.uicustomization id="themes" anchor="_creating-a-theme" />. Then, start the {project_name} server using the `spi-theme--welcome-theme` option.
[source,bash]
----
bin/kc.[sh|bat] start --spi-theme--welcome-theme=custom-theme
----
</@tmpl.guide>
</@tmpl.guide>