From b83bd4fd46ab3aac3fd7ffa7a117d8ac52e2c8a2 Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Fri, 9 Aug 2024 14:36:34 +0200 Subject: [PATCH] Add CSS classes to extension name/section name/property path Fixes #42370 --- .../src/main/resources/templates/allConfig.qute.adoc | 2 +- .../src/main/resources/templates/configReference.qute.adoc | 2 +- .../src/main/resources/templates/tags/configProperty.qute.adoc | 2 +- .../src/main/resources/templates/tags/configSection.qute.adoc | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/devtools/config-doc-maven-plugin/src/main/resources/templates/allConfig.qute.adoc b/devtools/config-doc-maven-plugin/src/main/resources/templates/allConfig.qute.adoc index 698d764a2a577a..21e121a194c75d 100644 --- a/devtools/config-doc-maven-plugin/src/main/resources/templates/allConfig.qute.adoc +++ b/devtools/config-doc-maven-plugin/src/main/resources/templates/allConfig.qute.adoc @@ -5,7 +5,7 @@ icon:lock[title=Fixed at build time] Configuration property fixed at build time |=== {#for extensionConfigRootsEntry in configRootsByExtensions} -h|{extensionConfigRootsEntry.key.formatName.escapeCellContent} +h|[.extension-name]##{extensionConfigRootsEntry.key.formatName.escapeCellContent}## h|Type h|Default diff --git a/devtools/config-doc-maven-plugin/src/main/resources/templates/configReference.qute.adoc b/devtools/config-doc-maven-plugin/src/main/resources/templates/configReference.qute.adoc index 3fe7092a6be20a..f72cbba717aa10 100644 --- a/devtools/config-doc-maven-plugin/src/main/resources/templates/configReference.qute.adoc +++ b/devtools/config-doc-maven-plugin/src/main/resources/templates/configReference.qute.adoc @@ -4,7 +4,7 @@ icon:lock[title=Fixed at build time] Configuration property fixed at build time [.configuration-reference{#if searchable}.searchable{/if}, cols="80,.^10,.^10"] |=== -h|Configuration property +h|[.header-title]##Configuration property## h|Type h|Default diff --git a/devtools/config-doc-maven-plugin/src/main/resources/templates/tags/configProperty.qute.adoc b/devtools/config-doc-maven-plugin/src/main/resources/templates/tags/configProperty.qute.adoc index a96247c5e97285..1c2e08ed27651c 100644 --- a/devtools/config-doc-maven-plugin/src/main/resources/templates/tags/configProperty.qute.adoc +++ b/devtools/config-doc-maven-plugin/src/main/resources/templates/tags/configProperty.qute.adoc @@ -1,4 +1,4 @@ -a|{#if configProperty.phase.fixedAtBuildTime}icon:lock[title=Fixed at build time]{/if} [[{configProperty.toAnchor(extension)}]] `{configProperty.path}` +a|{#if configProperty.phase.fixedAtBuildTime}icon:lock[title=Fixed at build time]{/if} [[{configProperty.toAnchor(extension)}]] [.property-path]##`{configProperty.path}`## {#for additionalPath in configProperty.additionalPaths} `{additionalPath}` diff --git a/devtools/config-doc-maven-plugin/src/main/resources/templates/tags/configSection.qute.adoc b/devtools/config-doc-maven-plugin/src/main/resources/templates/tags/configSection.qute.adoc index fe23805fd70bcb..b551782d4254de 100644 --- a/devtools/config-doc-maven-plugin/src/main/resources/templates/tags/configSection.qute.adoc +++ b/devtools/config-doc-maven-plugin/src/main/resources/templates/tags/configSection.qute.adoc @@ -1,4 +1,4 @@ -h|[[{configSection.toAnchor(extension)}]] {configSection.formatTitle.escapeCellContent} +h|[[{configSection.toAnchor(extension)}]] [.section-name]##{configSection.formatTitle.escapeCellContent}## h|Type h|Default