mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +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 %}
|
{% for event in component.events %}
|
||||||
<tr>
|
<tr>
|
||||||
<td data-flavor="html"><code class="nowrap">{{ event.name }}</code></td>
|
<td data-flavor="html"><code class="nowrap">{{ event.name }}</code></td>
|
||||||
<td data-flavor="react"><code class="nowrap">{{ event.reactName }}</code></td>
|
<td>
|
||||||
<td>{{ event.description | markdownInline | safe }}</td>
|
{% if event.description %}
|
||||||
|
{{ event.description | markdownInline | safe }}
|
||||||
|
{% else %}
|
||||||
|
EVENT NEEDS A DESCRIPTION
|
||||||
|
{% endif %}
|
||||||
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{% if event.type.text %}
|
{% if event.type.text %}
|
||||||
<code>{{ event.type.text }}</code>
|
<code>{{ event.type.text }}</code>
|
||||||
|
@ -24,9 +24,13 @@
|
|||||||
<li><em><a href="/components/sandbox">Sandbox</a></em></li>
|
<li><em><a href="/components/sandbox">Sandbox</a></em></li>
|
||||||
{% for component in meta.components %}
|
{% for component in meta.components %}
|
||||||
<li>
|
<li>
|
||||||
|
{% if component.tagName %}
|
||||||
<a href="/components/{{ component.tagName | removeSlPrefix }}">
|
<a href="/components/{{ component.tagName | removeSlPrefix }}">
|
||||||
{{ component.name | classNameToComponentName }}
|
{{ component.name | classNameToComponentName }}
|
||||||
</a>
|
</a>
|
||||||
|
{% else %}
|
||||||
|
{{ component.name }}
|
||||||
|
{% endif %}
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -22,8 +22,8 @@ module.exports.getAllComponents = function ()
|
|||||||
declaration.path = module.path.replace(/^src\//, 'dist/').replace(/\.ts$/, '.js');
|
declaration.path = module.path.replace(/^src\//, 'dist/').replace(/\.ts$/, '.js');
|
||||||
|
|
||||||
// Remove members that are private or don't have a description
|
// Remove members that are private or don't have a description
|
||||||
const members = declaration.members?.filter(member => member.description && member.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 methods = members?.filter(prop => prop.kind === 'method' && prop.privacy !== 'private') || [];
|
||||||
const properties = members?.filter(prop =>
|
const properties = members?.filter(prop =>
|
||||||
{
|
{
|
||||||
// Look for a corresponding attribute
|
// Look for a corresponding attribute
|
||||||
|
@ -26,7 +26,7 @@ function replace(string, terms)
|
|||||||
}
|
}
|
||||||
|
|
||||||
export default {
|
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 */
|
/** Globs to exclude */
|
||||||
exclude: ["*Date*"],//, 'et2_*.ts', '**/test/*', '**/*.styles.ts', '**/*.test.ts'],
|
exclude: ["*Date*"],//, 'et2_*.ts', '**/test/*', '**/*.styles.ts', '**/*.test.ts'],
|
||||||
dev: true,
|
dev: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user