mirror of https://github.com/apache/nifi.git
NIFI-3380: - Addressing issues with paths in generated documentation.
This closes #1627. Signed-off-by: Bryan Bende <bbende@apache.org>
This commit is contained in:
parent
ced6708d4b
commit
f15e0d8e1e
|
@ -366,7 +366,7 @@ public class HtmlDocumentationWriter implements DocumentationWriter {
|
||||||
xmlStreamWriter.writeCharacters(", ");
|
xmlStreamWriter.writeCharacters(", ");
|
||||||
}
|
}
|
||||||
xmlStreamWriter.writeCharacters("whether a property supports the ");
|
xmlStreamWriter.writeCharacters("whether a property supports the ");
|
||||||
writeLink(xmlStreamWriter, "NiFi Expression Language", "../../html/expression-language-guide.html");
|
writeLink(xmlStreamWriter, "NiFi Expression Language", "/nifi-docs/html/expression-language-guide.html");
|
||||||
}
|
}
|
||||||
if (containsSensitiveProperties) {
|
if (containsSensitiveProperties) {
|
||||||
xmlStreamWriter.writeCharacters(", and whether a property is considered " + "\"sensitive\", meaning that its value will be encrypted. Before entering a "
|
xmlStreamWriter.writeCharacters(", and whether a property is considered " + "\"sensitive\", meaning that its value will be encrypted. Before entering a "
|
||||||
|
@ -524,7 +524,7 @@ public class HtmlDocumentationWriter implements DocumentationWriter {
|
||||||
throws XMLStreamException {
|
throws XMLStreamException {
|
||||||
xmlStreamWriter.writeCharacters(" ");
|
xmlStreamWriter.writeCharacters(" ");
|
||||||
xmlStreamWriter.writeStartElement("img");
|
xmlStreamWriter.writeStartElement("img");
|
||||||
xmlStreamWriter.writeAttribute("src", "../../html/images/iconInfo.png");
|
xmlStreamWriter.writeAttribute("src", "/nifi-docs/html/images/iconInfo.png");
|
||||||
xmlStreamWriter.writeAttribute("alt", description);
|
xmlStreamWriter.writeAttribute("alt", description);
|
||||||
xmlStreamWriter.writeAttribute("title", description);
|
xmlStreamWriter.writeAttribute("title", description);
|
||||||
xmlStreamWriter.writeEndElement();
|
xmlStreamWriter.writeEndElement();
|
||||||
|
|
Loading…
Reference in New Issue