Skip to content

Commit

Permalink
feat: Add inner section (#1212)
Browse files Browse the repository at this point in the history
* Add Inner Member section

* Update tests
  • Loading branch information
tmcw authored Feb 27, 2019
1 parent 8ff9331 commit 64c9ca6
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
36 changes: 36 additions & 0 deletions __tests__/__snapshots__/test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1732,6 +1732,8 @@ This is a [link to something that does not exist]<a href=\\"DoesNot\\">DoesNot</





</section>

</div>
Expand Down Expand Up @@ -1799,6 +1801,8 @@ the referenced class type</p>





</section>

</div>
Expand Down Expand Up @@ -1875,6 +1879,8 @@ the referenced class type</p>





</section>

</div>
Expand Down Expand Up @@ -1949,6 +1955,8 @@ k.isArrayOfBuffers();</pre>





</section>

</div>
Expand Down Expand Up @@ -1991,6 +1999,8 @@ k.isArrayOfBuffers();</pre>








Expand Down Expand Up @@ -2062,6 +2072,8 @@ k.isArrayOfBuffers();</pre>





</section>

</div>
Expand Down Expand Up @@ -2160,6 +2172,8 @@ k.isArrayOfBuffers();</pre>





</section>

</div>
Expand Down Expand Up @@ -2260,6 +2274,8 @@ k.isArrayOfBuffers();</pre>





</section>

</div>
Expand All @@ -2270,6 +2286,8 @@ k.isArrayOfBuffers();</pre>





<div class='py1 quiet mt1 prose-big'>Events</div>
<div class=\\"clearfix\\">

Expand Down Expand Up @@ -2310,6 +2328,8 @@ k.isArrayOfBuffers();</pre>








Expand Down Expand Up @@ -2393,6 +2413,8 @@ k.isArrayOfBuffers();</pre>





</section>


Expand Down Expand Up @@ -2449,6 +2471,8 @@ like a <a href=\\"#klass\\">klass</a></p>





</section>


Expand Down Expand Up @@ -2516,6 +2540,8 @@ like a <a href=\\"#klass\\">klass</a></p>





</section>


Expand Down Expand Up @@ -2572,6 +2598,8 @@ like a <a href=\\"#klass\\">klass</a>. This needs a <a href=\\"https://developer





</section>


Expand Down Expand Up @@ -2656,6 +2684,8 @@ like a <a href=\\"#klass\\">klass</a>. This needs a <a href=\\"https://developer








Expand All @@ -2669,6 +2699,8 @@ like a <a href=\\"#klass\\">klass</a>. This needs a <a href=\\"https://developer





</section>


Expand Down Expand Up @@ -2751,6 +2783,8 @@ like a <a href=\\"#klass\\">klass</a>. This needs a <a href=\\"https://developer








Expand All @@ -2766,6 +2800,8 @@ like a <a href=\\"#klass\\">klass</a>. This needs a <a href=\\"https://developer





</section>


Expand Down
5 changes: 5 additions & 0 deletions src/default_theme/section._
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,11 @@
<%= renderSectionList({ members: section.members.instance, renderSection: renderSection, renderParamProperty: renderParamProperty, noun: 'Instance Member' }) %>
<% } %>

<% if (section.members.inner && section.members.inner.length) { %>
<div class='py1 quiet mt1 prose-big'>Inner Members</div>
<%= renderSectionList({ members: section.members.inner, renderSection: renderSection, renderParamProperty: renderParamProperty, noun: 'Inner Member' }) %>
<% } %>

<% if (section.members.events && section.members.events.length) { %>
<div class='py1 quiet mt1 prose-big'>Events</div>
<%= renderSectionList({ members: section.members.events, renderSection: renderSection, renderParamProperty: renderParamProperty, noun: 'Event' }) %>
Expand Down

0 comments on commit 64c9ca6

Please sign in to comment.