mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3040] Replaced doc template engine to fix whitespace issues (#3356)
This commit is contained in:
committed by
Eugenio Romano
parent
c63dee50f1
commit
0e64efc4e2
23
tools/doc/templates/directive.ejs
vendored
Normal file
23
tools/doc/templates/directive.ejs
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
<% if (hasInputs) { %>
|
||||
### Properties
|
||||
|
||||
| Name | Type | Default value | Description |
|
||||
| -- | -- | -- | -- |
|
||||
<% properties.forEach(function(prop) { -%>
|
||||
<% if (prop.isInput) { -%>
|
||||
| <%= prop.name %> | `<%- prop.type %>` | <%= prop.defaultValue %> | <%= prop.docText %> |
|
||||
<% } -%>
|
||||
<% }) -%>
|
||||
<% } %>
|
||||
<% if (hasOutputs) { %>
|
||||
|
||||
### Events
|
||||
|
||||
| Name | Type | Description |
|
||||
| -- | -- | -- |
|
||||
<% properties.forEach(function(prop) { %>
|
||||
<% if (prop.isOutput) { %>
|
||||
| <%= prop.name %> | `<%- prop.type %>` | <%= prop.docText %> |
|
||||
<% } %>
|
||||
<% }) %>
|
||||
<% } %>
|
Reference in New Issue
Block a user