mirror of https://github.com/apache/nifi.git
NIFI-917 Improve Rendering of Component Docs
Signed-off-by: James Wing <jvwing@gmail.com> This closes #2025.
This commit is contained in:
parent
082919f919
commit
10692256d6
|
@ -641,7 +641,7 @@ public class HtmlDocumentationWriter implements DocumentationWriter {
|
|||
|
||||
xmlStreamWriter.writeEmptyElement("br");
|
||||
if (implementations.length > 0) {
|
||||
final String title = implementations.length > 1 ? "Implementations: " : "Implementation:";
|
||||
final String title = implementations.length > 1 ? "Implementations: " : "Implementation: ";
|
||||
writeSimpleElement(xmlStreamWriter, "strong", title);
|
||||
iterateAndLinkComponents(xmlStreamWriter, implementations, null, "<br>");
|
||||
} else {
|
||||
|
|
|
@ -48,6 +48,7 @@ table {
|
|||
-webkit-border-radius:3px;
|
||||
border-radius:3px;
|
||||
width: 100%;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
table th {
|
||||
|
@ -113,6 +114,11 @@ table tr:last-child td:last-child {
|
|||
}
|
||||
|
||||
td#allowable-values, td#default-value, td#name, td#value {
|
||||
max-width: 200px;
|
||||
}
|
||||
|
||||
td#description {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
/* links */
|
||||
|
|
|
@ -117,6 +117,7 @@ div.documentation-header {
|
|||
#component-listing-container {
|
||||
flex-grow: 1;
|
||||
min-width: 312px;
|
||||
max-width: 350px;
|
||||
padding: 0px 4px 0px 4px;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue