Making IDs for configuration options unique

Closes #41423

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
This commit is contained in:
Alexander Schwartz
2025-07-28 19:57:16 +02:00
committed by GitHub
parent f81e42ada5
commit 097fe4ab46
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ summary="Review build options and configuration for {project_name}.">
[#category-${category.name()?lower_case}]
== ${category.heading}
<@opts.list options=categoryOptions></@opts.list>
<@opts.list options=categoryOptions categoryName=category.name()></@opts.list>
</#if>
</#list>
</@template.guide>
+2 -2
View File
@@ -16,7 +16,7 @@
<#nested>
</#macro>
<#macro list options buildIcon=true anchor=true>
<#macro list options buildIcon=true anchor=true categoryName="">
[cols="12a,4",role="options"]
|===
| |Value
@@ -27,7 +27,7 @@
[.options-description]#${option.description}#
[<#if anchor>#option-extended-${option.key},</#if>role="options-extended"]
[<#if anchor>#option-extended-${categoryName?lower_case}-${option.key},</#if>role="options-extended"]
--
<#if option.descriptionExtended?has_content>[.options-description-extended]#${option.descriptionExtended!}#</#if>