Files
keycloak/docs/guides/templates/guide.adoc
Martin Bartoš 33782602ca Improve readability of relevant options in guides (#37015)
Closes #37014

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
2025-02-04 14:07:50 +01:00

32 lines
1.0 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<#import "/templates/options.adoc" as opts>
<#macro guide title summary priority=999 deniedCategories="" includedOptions="" excludedOptions="" preview="" tileVisible="true" previewDiscussionLink="">
:guide-id: ${id}
:guide-title: ${title}
:guide-summary: ${summary}
:guide-priority: ${priority}
:guide-tile-visible: ${tileVisible}
:version: ${version}
include::../attributes.adoc[]
[[${id}]]
= ${title}
ifeval::["${preview}" == "true"]
WARNING: This {section} is describing a feature which is currently in preview.
ifeval::["${previewDiscussionLink}" == ""]
Please provide your feedback while were continuing to work on this.
endif::[]
ifeval::["${previewDiscussionLink}" != ""]
Please provide your feedback by link:${previewDiscussionLink}[joining this discussion] while were continuing to work on this.
endif::[]
endif::[]
<#nested>
<#if includedOptions?has_content>
<@opts.printRelevantOptions includedOptions=includedOptions excludedOptions=excludedOptions deniedCategories=deniedCategories></@>
</#if>
</#macro>