Skip to content

Commit

Permalink
Suppress signature and params in @interface docs
Browse files Browse the repository at this point in the history
Related issue upstream: documentationjs/documentation#461
  • Loading branch information
Anand Thakker authored and Lucas Wojciechowski committed Jul 20, 2016
1 parent 5f7d6fc commit 58305ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/_theme/section.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<%= md(section.description) %>


<% if (section.kind === 'class') { %>
<% if (section.kind === 'class' && !section.interface) { %>
<div class='code pad1 small round fill-light'><%= signature(section, true) %></div>
<% } %>

Expand All @@ -35,7 +35,7 @@
<% if (section.copyright) { %><div>Copyright: <%- section.copyright %></div><% }%>
<% if (section.since) { %><div>Since: <%- section.since %></div><% }%>

<% if (section.params) { %>
<% if (section.params && !(section.kind === 'class' && section.interface)) { %>
<div class='pad1y quiet space-top2 prose-big'>Parameters</div>
<div>
<% section.params.forEach(function(param) { %>
Expand Down

0 comments on commit 58305ba

Please sign in to comment.