mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* increase timeout and modify login async * run e2e if testing is changed * improve cdk fix * fix travis update projects * disable ghostMode lite server * lint fix * fix timeout * multiple try * Update content-services-e2e.sh * Update search-e2e.sh * Update process-services-e2e.sh * Update core-e2e.sh * Update protractor.conf.ts * fix unit * remove async * increqase notification time * 3 parallel * dix path issue in save * small refactor protractor ts * fix save * create license check first script adf cli * modify regex check * refactor notification history component * decrease notification * fix notification message problem * fix test * update packages wit high risk * revert cahnge login sso e2e * fix dep * fix documentation duplication and issue * fix after review * fix after review * try 6 parallel test * back to 3 parallel test no real time improve with 6
41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
<%
|
|
function relDocPath(fullPath) {
|
|
return fullPath.substring(fullPath.indexOf('docs') + 5).replace('\\', '/')
|
|
}
|
|
|
|
function relSrcPath(document) {
|
|
if(document && document.heading && document.heading.link && document.heading.link.url){
|
|
return '../' + document.heading.link.url.substring(document.heading.link.url.indexOf('lib')).replace('\\', '/')
|
|
}
|
|
}
|
|
|
|
function renderSection(sectionName) {
|
|
var sectionDocs = documents.filter(doc => doc.classType === sectionName.toLowerCase());
|
|
|
|
if (sectionDocs.length > 0) { -%>
|
|
|
|
### <%= sectionName %>
|
|
|
|
| Name | Description | Source link |
|
|
| --- | --- | --|
|
|
<% }
|
|
|
|
sectionDocs.forEach(document => { -%>
|
|
| [<%= document['title'] %>](<%= relDocPath(document['id']) %>) -%>
|
|
<% if (document['status'] && document['status'] !== 'Active') { -%>
|
|
![<%= document['status'] %>](docassets/images/<%= document['status'] %>Icon.png) <% } -%>
|
|
| <%= document['paragraph']['plaintext'] %> | [Source](<%= relSrcPath(document) %>) |
|
|
<% });
|
|
}
|
|
-%>
|
|
<%
|
|
renderSection('Components');
|
|
renderSection('Directives');
|
|
renderSection('Dialogs');
|
|
renderSection('Interfaces');
|
|
renderSection('Models');
|
|
renderSection('Pipes');
|
|
renderSection('Services');
|
|
renderSection('Widgets');
|
|
-%>
|