Property descriptions should not include defaults

- The default is properly modeled and is up to the consumer to
    choose where / when to render it fopr consistency
This commit is contained in:
Juan Martín Sotuyo Dodero
2022-08-17 10:51:49 -03:00
parent a0dcf384bf
commit 6d35c9189e

View File

@ -40,7 +40,7 @@ public class HTMLRenderer extends AbstractIncrementingRenderer {
public static final PropertyDescriptor<Boolean> HTML_EXTENSION =
PropertyFactory.booleanProperty("htmlExtension")
.desc("Replace file extension with .html for the links (default: false)")
.desc("Replace file extension with .html for the links.")
// default value is false - to have the old (pre 6.23.0) behavior, this needs to be set to true.
.defaultValue(false)
.build();