From 430c883edaca2dc0ca71477b6a17f3b53e4eac8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Barto=C5=A1?= Date: Mon, 28 Aug 2023 16:34:02 +0200 Subject: [PATCH] Provide support for determining community/product guides Closes #22762 --- docs/guides/templates/profile.adoc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 docs/guides/templates/profile.adoc diff --git a/docs/guides/templates/profile.adoc b/docs/guides/templates/profile.adoc new file mode 100644 index 0000000000..8a09020aae --- /dev/null +++ b/docs/guides/templates/profile.adoc @@ -0,0 +1,11 @@ +<#macro ifProduct> +ifeval::[{project_product} == true] +<#nested> +endif::[] + + +<#macro ifCommunity> +ifeval::[{project_product} != true] +<#nested> +endif::[] + \ No newline at end of file