worked on api template
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{% if include.data.borrows.size > 0 %}
|
||||
## Extends
|
||||
{% for item in include.data.borrows %}
|
||||
[{{ item }}]({{ site.baseurl }}/api/class/{{ item | api_url }})
|
||||
[{{ item }}]({{ site.baseurl }}/api/{{ item | api_url }})
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
## Properties
|
||||
name | type | summary | defined by
|
||||
--- | --- | --- | ---
|
||||
{% for item in include.data.properties %}{{ item.name }} | {% if item.dataTypes[0] contains 'tinymce' %}[`{{ item.dataTypes[0] }}`]({{ site.baseurl }}/api/class/{{ item.dataTypes[0] | api_url }}){% else %}`{{ item.dataTypes[0] }}`{% endif %}| {{ item.desc | no_nl }} | [{{ item.definedBy }}]({{ site.baseurl }}/api/class/{{ item.definedBy | api_url }})
|
||||
{% for item in include.data.properties %}{{ item.name }} | {% if item.dataTypes[0] contains 'tinymce' %}[`{{ item.dataTypes[0] }}`]({{ site.baseurl }}/api/{{ item.dataTypes[0] | api_url }}){% else %}`{{ item.dataTypes[0] }}`{% endif %}| {{ item.desc | no_nl }} | [{{ item.definedBy }}]({{ site.baseurl }}/api/{{ item.definedBy | api_url }})
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
@@ -17,7 +17,7 @@ name | type | summary | defined by
|
||||
## Methods
|
||||
name | summary | defined by
|
||||
--- | --- | ---
|
||||
{% for item in include.data.methods %}[{{ item.name }}()](#{{ item.name | anchor }}) | {{ item.desc | no_nl }} | [{{ item.definedBy }}]({{ site.baseurl }}/api/class/{{ item.definedBy | api_url }})
|
||||
{% for item in include.data.methods %}[{{ item.name }}()](#{{ item.name | anchor }}) | {{ item.desc | no_nl }} | [{{ item.definedBy }}]({{ site.baseurl }}/api/{{ item.definedBy | api_url }})
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
@@ -25,7 +25,7 @@ name | summary | defined by
|
||||
## Events
|
||||
name | summary | defined by
|
||||
--- | --- | ---
|
||||
{% for item in include.data.events %}[{{ item.name }}](#{{ item.name | anchor }}) | {{ item.desc | no_nl }} | [{{ item.definedBy }}]({{ site.baseurl }}/api/class/{{ item.definedBy | api_url }})
|
||||
{% for item in include.data.events %}[{{ item.name }}](#{{ item.name | anchor }}) | {{ item.desc | no_nl }} | [{{ item.definedBy }}]({{ site.baseurl }}/api/{{ item.definedBy | api_url }})
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
@@ -53,14 +53,14 @@ name | summary | defined by
|
||||
{% if item.params.size > 0 %}
|
||||
##### Parameters
|
||||
|
||||
{% for param in item.params %}* `{{ param.name }}` ({% if param.types[0] contains 'tinymce' %}[{{ param.types[0] }}]({{ site.baseurl }}/api/class/{{ param.types[0] | api_url }}){% else %}`{{ param.types[0] }}`{% endif %}) - {{ param.desc | no_nl }}
|
||||
{% for param in item.params %}* `{{ param.name }}` ({% if param.types[0] contains 'tinymce' %}[{{ param.types[0] }}]({{ site.baseurl }}/api/{{ param.types[0] | api_url }}){% else %}`{{ param.types[0] }}`{% endif %}) - {{ param.desc | no_nl }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% if item.return.types.size > 0 %}
|
||||
##### Return value
|
||||
|
||||
{% for type in item.return.types %}* {% if type contains 'tinymce' %}[`{{ type }}`]({{ site.baseurl }}/api/class/{{ type | api_url }}){% else %}`{{ type }}`{% endif %} - {{ item.return.desc | no_nl }}
|
||||
{% for type in item.return.types %}* {% if type contains 'tinymce' %}[`{{ type }}`]({{ site.baseurl }}/api/{{ type | api_url }}){% else %}`{{ type }}`{% endif %} - {{ item.return.desc | no_nl }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
@@ -79,7 +79,7 @@ name | summary | defined by
|
||||
|
||||
name | type | description
|
||||
--- | --- | ---
|
||||
{% for param in item.params %}{{ param.name }} | {% if param.types[0] contains 'tinymce' %}[`{{ param.types[0] }}`]({{ site.baseurl }}/api/class/{{ param.types[0] | api_url }}){% else %}`{{ param.types[0] }}`{% endif %} | {{ param.desc | no_nl }}
|
||||
{% for param in item.params %}{{ param.name }} | {% if param.types[0] contains 'tinymce' %}[`{{ param.types[0] }}`]({{ site.baseurl }}/api/{{ param.types[0] | api_url }}){% else %}`{{ param.types[0] }}`{% endif %} | {{ param.desc | no_nl }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user