2018-06-22 11:58:29 -04:00
|
|
|
{% extends 'base.template.html' -%}
|
|
|
|
|
2018-08-13 05:56:24 -04:00
|
|
|
{% macro listItems(items, title, overridePath) %}
|
2018-08-29 11:48:19 -04:00
|
|
|
{% set filteredItems = items | filterByPropertyValue('internal', undefined) %}
|
|
|
|
{% if filteredItems.length %}
|
2018-06-22 11:58:29 -04:00
|
|
|
<section class="export-list">
|
|
|
|
<h3>{$ title $}</h3>
|
|
|
|
<table class="is-full-width list-table">
|
2018-08-29 11:48:19 -04:00
|
|
|
{% for item in filteredItems %}
|
2018-06-22 11:58:29 -04:00
|
|
|
<tr>
|
|
|
|
<td><code class="code-anchor">
|
2018-08-13 05:56:24 -04:00
|
|
|
<a href="{$ overridePath or item.path $}">{$ item.name $}</a></code></td>
|
2018-06-22 11:58:29 -04:00
|
|
|
<td>{% if item.shortDescription %}{$ item.shortDescription | marked $}{% endif %}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
</section>
|
|
|
|
{% endif %}
|
|
|
|
{% endmacro %}
|
|
|
|
|
|
|
|
{% block body -%}
|
|
|
|
{% include "includes/deprecation.html" %}
|
|
|
|
{$ doc.shortDescription | marked $}
|
|
|
|
{% if doc.description %}{$ doc.description | marked $}{% endif %}
|
|
|
|
|
|
|
|
{% include "includes/see-also.html" %}
|
|
|
|
|
2018-08-13 05:56:24 -04:00
|
|
|
{% if doc.isPrimaryPackage %}
|
2018-06-22 11:58:29 -04:00
|
|
|
<h2>Entry points</h2>
|
2018-08-13 05:56:24 -04:00
|
|
|
{$ listItems([doc.packageInfo.primary], 'Primary', '#primary-entry-point-exports') $}
|
2018-06-22 11:58:29 -04:00
|
|
|
{$ listItems(doc.packageInfo.secondary, 'Secondary') $}
|
2018-08-13 05:56:24 -04:00
|
|
|
{% endif %}
|
2018-06-22 11:58:29 -04:00
|
|
|
|
2018-08-13 05:56:24 -04:00
|
|
|
<h2>{% if doc.isPrimaryPackage %}Primary entry{% else %}Entry{% endif %} point exports</h2>
|
2018-06-22 11:58:29 -04:00
|
|
|
{$ listItems(doc.classes, 'Classes') $}
|
|
|
|
{$ listItems(doc.decorators, 'Decorators') $}
|
|
|
|
{$ listItems(doc.functions, 'Functions') $}
|
|
|
|
{$ listItems(doc.structures, 'Structures') $}
|
|
|
|
{$ listItems(doc.directives, 'Directives') $}
|
|
|
|
{$ listItems(doc.pipes, 'Pipes') $}
|
|
|
|
{$ listItems(doc.types, 'Types') $}
|
|
|
|
{%- endblock %}
|