mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
Get more widgets showing in docs
This commit is contained in:
parent
54b38cab8c
commit
db99c1bb2c
@ -163,8 +163,13 @@
|
||||
{% for event in component.events %}
|
||||
<tr>
|
||||
<td data-flavor="html"><code class="nowrap">{{ event.name }}</code></td>
|
||||
<td data-flavor="react"><code class="nowrap">{{ event.reactName }}</code></td>
|
||||
<td>{{ event.description | markdownInline | safe }}</td>
|
||||
<td>
|
||||
{% if event.description %}
|
||||
{{ event.description | markdownInline | safe }}
|
||||
{% else %}
|
||||
EVENT NEEDS A DESCRIPTION
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>
|
||||
{% if event.type.text %}
|
||||
<code>{{ event.type.text }}</code>
|
||||
|
@ -24,9 +24,13 @@
|
||||
<li><em><a href="/components/sandbox">Sandbox</a></em></li>
|
||||
{% for component in meta.components %}
|
||||
<li>
|
||||
{% if component.tagName %}
|
||||
<a href="/components/{{ component.tagName | removeSlPrefix }}">
|
||||
{{ component.name | classNameToComponentName }}
|
||||
</a>
|
||||
{% else %}
|
||||
{{ component.name }}
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
@ -22,8 +22,8 @@ module.exports.getAllComponents = function ()
|
||||
declaration.path = module.path.replace(/^src\//, 'dist/').replace(/\.ts$/, '.js');
|
||||
|
||||
// Remove members that are private or don't have a description
|
||||
const members = declaration.members?.filter(member => member.description && member.privacy !== 'private');
|
||||
const methods = members?.filter(prop => prop.kind === 'method' && prop.privacy !== 'private');
|
||||
const members = declaration.members?.filter(member => member.description && member.privacy !== 'private') || [];
|
||||
const methods = members?.filter(prop => prop.kind === 'method' && prop.privacy !== 'private') || [];
|
||||
const properties = members?.filter(prop =>
|
||||
{
|
||||
// Look for a corresponding attribute
|
||||
|
@ -26,7 +26,7 @@ function replace(string, terms)
|
||||
}
|
||||
|
||||
export default {
|
||||
globs: ["api/js/etemplate/**/Et2[!DFILST]*/*.ts"], // There's something wrong with some widgets, they break the parser
|
||||
globs: ["api/js/etemplate/**/Et2[!DIL]*/*.ts"], // There's something wrong with some widgets, they break the parser
|
||||
/** Globs to exclude */
|
||||
exclude: ["*Date*"],//, 'et2_*.ts', '**/test/*', '**/*.styles.ts', '**/*.test.ts'],
|
||||
dev: true,
|
||||
|
Loading…
Reference in New Issue
Block a user