diff --git a/.github/scripts/generate_descriptor_pages.main.kts b/.github/scripts/generate_descriptor_pages.main.kts
index 3aa485910..ed7ecfeaf 100755
--- a/.github/scripts/generate_descriptor_pages.main.kts
+++ b/.github/scripts/generate_descriptor_pages.main.kts
@@ -314,17 +314,15 @@ fun StringBuilder.appendAttributeDeprecationInfo(attribute: Attribute) {
val deprecatedSince = attribute.deprecatedSince
val deprecationNote = attribute.deprecationNote
if (deprecatedSince != null || deprecationNote != null) {
- if (deprecatedSince != null) {
- append("**_Deprecated since ${deprecatedSince}_**".indentLines(4))
- } else {
- append("**_Deprecated_**")
- }
+ append(
+ (if (deprecatedSince != null) "**_Deprecated since ${deprecatedSince}_**" else "**_Deprecated_**").indentLines(2)
+ )
if (deprecationNote != null) {
val noteWithoutLineBreaks = deprecationNote.replace('\n', ' ')
append(": $noteWithoutLineBreaks")
}
+ appendLine()
}
- append("")
}
fun StringBuilder.appendChildren(parent: Element, parentPath: String) {
diff --git a/topics/basics/plugin_structure/plugin_configuration_file.md b/topics/basics/plugin_structure/plugin_configuration_file.md
index dd444f749..dbdced904 100644
--- a/topics/basics/plugin_structure/plugin_configuration_file.md
+++ b/topics/basics/plugin_structure/plugin_configuration_file.md
@@ -1179,7 +1179,8 @@ Attributes
- `ref` _(**required**)_
The ID of the action to add to a group.
- `id` _(optional)_
-**_Deprecated_**: Use `ref` instead.
+ **_Deprecated_**: Use `ref` instead.
+
The ID of the action to add to a group.
Children