[ADF-2764] Updated doc files with latest script features (#3368)

* [ADF-2764] Updated doc files with latest script features

* [ADF-2764] Rebuilt full index instead of just content services index
This commit is contained in:
Andy Stark
2018-05-23 00:40:02 +01:00
committed by Eugenio Romano
parent f69bad3732
commit c8f04193c7
39 changed files with 353 additions and 280 deletions

View File

@@ -5,6 +5,7 @@
"versionIndex",
"tutorialIndex",
"tsInfo",
"typeLinker",
"toc"
],
"index": [
@@ -14,6 +15,7 @@
],
"enhance": [
"tsInfo",
"typeLinker",
"toc"
],
"dev": [

View File

@@ -5,7 +5,7 @@
| -- | -- | -- | -- |
<% properties.forEach(function(prop) { -%>
<% if (prop.isInput) { -%>
| <%= prop.name %> | `<%- prop.type %>` | <%= prop.defaultValue %> | <%= prop.docText %> |
| <%= prop.name %> | `<%- prop.type %>` | <%- prop.defaultValue %> | <%- prop.docText %> |
<% } -%>
<% }) -%>
<% } %>
@@ -15,9 +15,9 @@
| Name | Type | Description |
| -- | -- | -- |
<% properties.forEach(function(prop) { %>
<% if (prop.isOutput) { %>
| <%= prop.name %> | `<%- prop.type %>` | <%= prop.docText %> |
<% } %>
<% }) %>
<% properties.forEach(function(prop) { -%>
<% if (prop.isOutput) { -%>
| <%= prop.name %> | `<%- prop.type %>` | <%- prop.docText %> |
<% } -%>
<% }) -%>
<% } %>

View File

@@ -5,7 +5,7 @@
| -- | -- | -- | -- |
<% properties.forEach(function(prop) { -%>
<% if (prop.isInput) { -%>
| <%= prop.name %> | `<%- prop.type %>` | <%= prop.defaultValue %> | <%= prop.docText %> |
| <%= prop.name %> | `<%- prop.type %>` | <%- prop.defaultValue %> | <%- prop.docText %> |
<% } -%>
<% }) -%>
<% } %>
@@ -15,9 +15,9 @@
| Name | Type | Description |
| -- | -- | -- |
<% properties.forEach(function(prop) { %>
<% if (prop.isOutput) { %>
| <%= prop.name %> | `<%- prop.type %>` | <%= prop.docText %> |
<% } %>
<% }) %>
<% properties.forEach(function(prop) { -%>
<% if (prop.isOutput) { -%>
| <%= prop.name %> | `<%- prop.type %>` | <%- prop.docText %> |
<% } -%>
<% }) -%>
<% } %>

View File

@@ -148,6 +148,8 @@ var ComponentInfo = /** @class */ (function () {
});
}
});
this.hasInputs = false;
this.hasOutputs = false;
this.properties.forEach(function (prop) {
if (prop.isInput)
_this.hasInputs = true;

View File

@@ -230,6 +230,9 @@ class ComponentInfo {
}
});
this.hasInputs = false;
this.hasOutputs = false;
this.properties.forEach(prop => {
if (prop.isInput)
this.hasInputs = true;