[ https://issues.apache.org/jira/browse/FLINK-11584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chesnay Schepler closed FLINK-11584. ------------------------------------ Resolution: Fixed master: 9839126b7d05eb4b6966e77e0893fb09b445803f 1.7: e64d3a8111b1faf2c06863fe144155e69ab27471 1.6: 284010633ab3c0be0fad1eed395c617f4dd4c749 > ConfigDocsCompletenessITCase fails DescriptionBuilder#linebreak() is used > ------------------------------------------------------------------------- > > Key: FLINK-11584 > URL: https://issues.apache.org/jira/browse/FLINK-11584 > Project: Flink > Issue Type: Bug > Components: Documentation > Affects Versions: 1.6.3, 1.7.1, 1.8.0 > Reporter: Nico Kruber > Assignee: Chesnay Schepler > Priority: Major > Labels: pull-request-available > Time Spent: 20m > Remaining Estimate: 0h > > I just tried adding this configuration > {code} > public static final ConfigOption<String> SSL_PROVIDER = > key("security.ssl.provider") > .defaultValue("JDK") > .withDescription(Description.builder() > .text("The SSL engine provider to use for the ssl > transport:") > .list( > TextElement.text("%s: default Java-based SSL engine", > TextElement.code("JDK")), > TextElement.text("%s: openSSL-based SSL engine using > system libraries" > + " (falls back to JDK if not available)", > TextElement.code("OPENSSL")) > ).linebreak() > .text("Please note: OPENSSL requires a custom build of %s > in our " + > "shaded package namespace which is not (yet) > available but can be built manually (see %s).", > > link("http://netty.io/wiki/forked-tomcat-native.html#wiki-h2-4", > "netty-tcnative"), > > link("https://issues.apache.org/jira/browse/FLINK-11579", "FLINK-11579")) > .build() > ); > {code} > and was presented with {{java.lang.AssertionError: Documentation is outdated, > please regenerate it according to the instructions in flink-docs/README.md.}} > in {{ConfigOptionsDocsCompletenessITCase}} even though I did regenerate the > docs. As it turns out, the line break is rendered differently: {{<br/>}} > (supposed) vs. {{<br>}} (documented). Strangely, > {{DescriptionHtmlTest#testDescriptionWithLineBreak}} does verify the supposed > variant, so I don't know what's wrong here. -- This message was sent by Atlassian JIRA (v7.6.3#76005)