Skip to content

Commit edf4e03

Browse files
committed
Improve formatting for enum configuration values
- Improve readability of enum configuration value formatting by switching to a bullet list style in documentation generation.
1 parent 1597a94 commit edf4e03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

devtools/config-doc-maven-plugin/src/main/java/io/quarkus/maven/config/doc/generator/AbstractFormatter.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,11 @@ public String formatTypeDescription(ConfigProperty configProperty, Context conte
7979
.transform(javadocElement.get().description(), javadocElement.get().format(),
8080
javadocFormat()));
8181
})
82-
.collect(Collectors.joining(", "));
82+
.collect(Collectors.joining("`\n- ", "- ", ""));
8383
} else {
8484
typeContent = configProperty.getEnumAcceptedValues().values().values().stream()
8585
.map(v -> v.configValue())
86-
.collect(Collectors.joining("`, `", "`", "`"));
86+
.collect(Collectors.joining("`\n- `", "- `", "`"));
8787
}
8888
} else {
8989
typeContent = configProperty.getTypeDescription();

0 commit comments

Comments
 (0)