<% if (typeof nested === 'undefined' || (section.context && section.context.github)) { %>
<% if (typeof nested === 'undefined') { %>

<%- section.name %>

<% } %> <% if (section.context && section.context.github) { %> <%= section.context.github.path %> <% } %>
<% } %> <%= md(section.description) %>
<%= signature(section) %>
<% if (section.type) { %>

Type: <%= formatType(section.type) %>

<% } %> <% if (section.augments.length) { %>

Extends <% if (section.augments) { %> <%= section.augments.map(function(tag) { return autolink(tag.name); }).join(', ') %> <% } %>

<% } %> <% if (section.deprecated) { %>
Deprecated: <%= md(section.deprecated, true) %>
<% }%> <% if (section.version) { %>
Version: <%- section.version %>
<% }%> <% if (section.license) { %>
License: <%- section.license %>
<% }%> <% if (section.author) { %>
Author: <%- section.author %>
<% }%> <% if (section.copyright) { %>
Copyright: <%= md(section.copyright, true) %>
<% }%> <% if (section.since) { %>
Since: <%- section.since %>
<% }%> <% if (section.params.length) { %>
Parameters
<% section.params.forEach(function(param) { %>
<%- param.name%> (<%= formatType(param.type) %><% if (param.default) { %> = <%- param.default %><% } %>) <%= md(param.description, true) %>
<% if (param.properties && param.properties.length) { %> <% param.properties.forEach(function(property) { %> <% }) %>
Name Description
<%- property.name %> <%= formatType(property.type) %> <% if (property.default) { %> (default <%- property.default %>) <% } %> <%= md(property.description, true) %>
<% } %>
<% }) %>
<% } %> <% if (section.properties.length) { %>
Properties
<% section.properties.forEach(function(property) { %>
<%- property.name%> (<%= formatType(property.type) %>) <% if (property.default) { %> (default <%- property.default %>) <% } %><% if (property.description) { %>: <%= md(property.description, true) %><% } %> <% if (property.properties && property.properties.length) { %>
    <% property.properties.forEach(function(property) { %>
  • <%- property.name %> <%= formatType(property.type) %> <% if (property.default) { %> (default <%- property.default %>) <% } %> <%= md(property.description) %>
  • <% }) %>
<% } %>
<% }) %>
<% } %> <% if (section.returns.length) { %> <% section.returns.forEach(function(ret) { %>
Returns
<%= formatType(ret.type) %><% if (ret.description) { %>: <%= md(ret.description, true) %> <% }%> <% }) %> <% } %> <% if (section.throws.length) { %>
Throws
<% } %> <% if (section.examples.length) { %>
Example
<% section.examples.forEach(function(example) { %> <% if (example.caption) { %>

<%= md(example.caption) %>

<% } %>
<%= highlight(example.description) %>
<% }) %> <% } %> <% if (section.members.static && section.members.static.length) { %>
Static Members
<%= renderSectionList({ members: section.members.static, renderSection: renderSection, noun: 'Static Member' }) %> <% } %> <% if (section.members.instance && section.members.instance.length) { %>
Instance Members
<%= renderSectionList({ members: section.members.instance, renderSection: renderSection, noun: 'Instance Member' }) %> <% } %> <% if (section.members.events && section.members.events.length) { %>
Events
<%= renderSectionList({ members: section.members.events, renderSection: renderSection, noun: 'Event' }) %> <% } %>