From 3cda9d5adaf8c9a46f9be6b0b1c802919ebd8976 Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Wed, 25 Sep 2024 13:26:05 +0200 Subject: [PATCH] Config Doc - Bring back the links for config sections and properties Fixes #43310 (cherry picked from commit 330ba22dc1dab8cec0d9295b746f15c153459b23) --- .../src/main/resources/templates/tags/configProperty.qute.adoc | 2 +- .../src/main/resources/templates/tags/configSection.qute.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 dd3a23f0d0abc..79072c86ad183 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, additionalAnchorPrefix)}]] [.property-path]##`{configProperty.path}`## +a|{#if configProperty.phase.fixedAtBuildTime}icon:lock[title=Fixed at build time]{/if} [[{configProperty.toAnchor(extension, additionalAnchorPrefix)}]] [.property-path]##link:#{configProperty.toAnchor(extension, additionalAnchorPrefix)}[`{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 d8673758bdd46..bdc9d412458f8 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, additionalAnchorPrefix)}]] [.section-name.section-level{configSection.level}]##{configSection.formatTitle.escapeCellContent}## +h|[[{configSection.toAnchor(extension, additionalAnchorPrefix)}]] [.section-name.section-level{configSection.level}]##link:#{configSection.toAnchor(extension, additionalAnchorPrefix)}[{configSection.formatTitle.escapeCellContent}]## h|Type h|Default