mirror of https://github.com/apache/nifi.git
NIFI-280 writing the description as a second row
This commit is contained in:
parent
6007070628
commit
5f1fb45c91
|
@ -275,13 +275,21 @@ public class HtmlDocumentationWriter implements DocumentationWriter {
|
|||
if (property.isSensitive()) {
|
||||
writeSensitiveImg(xmlStreamWriter);
|
||||
}
|
||||
writePropertyDescription(xmlStreamWriter, property.getDescription());
|
||||
//writePropertyDescription(xmlStreamWriter, property.getDescription());
|
||||
xmlStreamWriter.writeEndElement();
|
||||
writeSimpleElement(xmlStreamWriter, "td", property.getDefaultValue());
|
||||
writeValidValues(xmlStreamWriter, property);
|
||||
writeSimpleElement(xmlStreamWriter, "td", property.isExpressionLanguageSupported() ? "Yes"
|
||||
: "No");
|
||||
xmlStreamWriter.writeEndElement();
|
||||
xmlStreamWriter.writeStartElement("tr");
|
||||
xmlStreamWriter.writeStartElement("td");
|
||||
xmlStreamWriter.writeAttribute("span", "4");
|
||||
xmlStreamWriter.writeCharacters("Description:");
|
||||
|
||||
xmlStreamWriter.writeCharacters(property.getDescription());
|
||||
xmlStreamWriter.writeEndElement();
|
||||
xmlStreamWriter.writeEndElement();
|
||||
}
|
||||
|
||||
// TODO support dynamic properties...
|
||||
|
|
Loading…
Reference in New Issue